Getting Started
Installation
How to install Zap in your Laravel application.
Installation
Requirements: PHP ≥8.5, Laravel ≥12.0
Before Running Migrations (UUID/ULID/GUID)
If your models use UUID-style primary keys, review the custom model steps in the Configuration guide before publishing or running the migrations.
Composer
Install the package via composer:
composer require laraveljutsu/zap
Setup
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;
}
