PHP code example of nilanjank / scheduler-hub-laravel
1. Go to this page and download the library: Download nilanjank/scheduler-hub-laravel 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/ */
nilanjank / scheduler-hub-laravel example snippets
// routes/console.php
use Illuminate\Support\Facades\Schedule;
Schedule::command('inspire')
->everyMinute()
->description('Displays a random motivational quote.');