Requirements:
Install the package via composer:
composer require laraveljutsu/zap
Publish the migrations and run them:
php artisan vendor:publish --tag=zap-migrations
php artisan migrate
Add the HasSchedules trait to your schedulable models:
use Zap\Models\Concerns\HasSchedules;
use Illuminate\Database\Eloquent\Model;
class Doctor extends Model
{
use HasSchedules;
}