LaravelPackages.net
Acme Inc.
Toggle sidebar
afom/deploy-notifier

Deploy notifier for Laravel.

1.144
0
1.0.5
About afom/deploy-notifier

afom/deploy-notifier is a Laravel package for deploy notifier for laravel.. It currently has 0 GitHub stars and 1.144 downloads on Packagist (latest version 1.0.5). Install it with composer require afom/deploy-notifier. Discover more Laravel packages by afom or browse all Laravel packages to compare alternatives.

Last updated

Deploy Notifier

We’re using the deploy notifier to send deployment notifications to our source for communicating. This package currently supports only HipChat. You’re welcome to create “pull requests” to add more notifiers.

Build Status Latest Stable Version Total Downloads Coverage Status

Usage

Add following settings to .env

Available colors: "yellow", "green", "red", "purple", "gray", "random".

DEPLOY_NOTIFIER=hipchat DEPLOY_NOTIFIER_COLOR=purple DEPLOY_NOTIFIER_SENDER=Project X DEPLOY_NOTIFIER_HIPCHAT_ROOM_ID=1111111 DEPLOY_NOTIFIER_HIPCHAT_ROOM_TOKEN=YourRoomToken

Install the package

composer require afom/deploy-notifier

Add the service provider to config/app.php

Afom\DeployNotifier\DeployNotifierServiceProvider::class,

Vendor publish

php artisan vendor:publish

Trigger the notification using php artisan

php artisan send:deploy:notification

Or doing it manually

$message = new \Afom\DeployNotifier\Message('Project X', 'Project X has been deployed to staging', 'gray');
$notifier = app(DeployNotifierInterface::class);
$notifier->sendNotification($message);

Questions?

For any questions you can reach us at [email protected]

Star History Chart