PHP code example of afom / deploy-notifier
1. Go to this page and download the library: Download afom/deploy-notifier library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
afom / deploy-notifier example snippets
Afom\DeployNotifier\DeployNotifierServiceProvider::class,
php artisan vendor:publish
php artisan send:deploy:notification
$message = new \Afom\DeployNotifier\Message('Project X', 'Project X has been deployed to staging', 'gray');
$notifier = app(DeployNotifierInterface::class);
$notifier->sendNotification($message);