Send notifications with composer

Deprecated, use Laravel Forge webhooks Use a composer module for a tighter integration with your Laravel app

Install package


If you are using Laravel 5.5 the package auto-discovery will find the package.

composer require eastwest/fbar dev-master

You can read more at Packagist or GitHub

Prior Laravel 5.5 you need to add this to your config/app.php

'providers' => [
	...
	Eastwest\FBar\FBarServiceProvider::class,
];

Finally publish the configuration file for F-Bar

php artisan vendor:publish

Configure


Open config/laravel-fbar.phpand enter your device ID found in F-Bar and enter your device ID found in F-Bar

Paste key

Send message


Add this to your deployment script

php artisan fbar:push --message="My site deployed!"

Alternative setup…