PHP code example of ibrand / laravel-scheduling
1. Go to this page and download the library: Download ibrand/laravel-scheduling 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/ */
ibrand / laravel-scheduling example snippets
use iBrand\Scheduling\Scheduling;
class YourSchedule extends Scheduling {
public function schedule(){
//Your schedule logic.
$this->schedule->call(function () {
})->daily();
}
}
$this->app->make(iBrand\Scheduling\ScheduleList::class)->add(YourSchedule::class);