for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Providers;
use Canvas\Canvas;
use Illuminate\Support\ServiceProvider;
use Illuminate\Console\Scheduling\Schedule;
class CanvasServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
// Canvas::night();
}
* Bootstrap any application services.
public function boot()
$this->app->booted(function () {
$schedule = resolve(Schedule::class);
$schedule->command('canvas:digest')
->weekly()
->sundays()
->at('13:00')
->when(function () {
return config('canvas.mail.enabled');
});