5-Minute Quickstart
This quickstart walks through five daily workflows using php vendor/bin/wire.
-
Inspect your site schema and pages as JSON:
Terminal window php vendor/bin/wire template:list --jsonphp vendor/bin/wire page:find "template=home, limit=5" --jsonEvery read command emits machine-readable JSON when
--jsonis passed, making it easy to pipe intojqor CI assertions. -
Create and preview a schema migration:
Terminal window php vendor/bin/wire make:migration add_charter_fields --type=field --field=cabins --fieldtype=FieldtypeInteger --label="Cabins" --jsonphp vendor/bin/wire migrate --dry-run --jsonphp vendor/bin/wire migrate --force --json--dry-runpreviews every pending migration without mutating the database. -
Initialize database queue tables and process one job:
Terminal window php vendor/bin/wire queue:table --jsonphp vendor/bin/wire queue:work --once --json -
Create a timestamped SQL backup before deploying:
Terminal window php vendor/bin/wire db:backup --jsonphp vendor/bin/wire backup:list --limit=5 --json -
Run automated Pest PHP tests:
Terminal window php vendor/bin/wire test --json