Package Data | |
---|---|
Maintainer Username: | Sjeng |
Maintainer Contact: | development@afriendofmine.nl (AFOM Development team) |
Package Create Date: | 2016-12-21 |
Package Last Update: | 2016-12-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-14 15:02:03 |
Package Statistics | |
---|---|
Total Downloads: | 1,143 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 5 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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.
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);
For any questions you can reach us at development@afriendofmine.nl