afom / deploy-notifier
Deploy notifier for Laravel.
Installs: 1 143
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Requires
- gorkalaucirica/hipchat-v2-api-client: ^1.5
- illuminate/console: ^5.0,<5.5
- illuminate/support: ^5.0,<5.5
Requires (Dev)
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2024-12-07 20:44:23 UTC
README
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.
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 development@afriendofmine.nl