Requirements:
If your models use UUID-style primary keys, review the custom model steps in the Configuration guide before publishing or running the migrations.
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;
}