for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\Pushover;
use GuzzleHttp\Client as HttpClient;
use Illuminate\Support\ServiceProvider;
class PushoverServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
$this->app->when(PushoverChannel::class)
->needs(Pushover::class)
->give(function () {
return new Pushover(new HttpClient(), config('services.pushover.token'));
});
}
* Register the application services.
public function register()