Skip to content

v1.3.0

Choose a tag to compare

@wazabii8 wazabii8 released this 22 Mar 17:13
· 8 commits to main since this release
c0730f8

Console Commands

Built-in CLI command system inspired by Laravel Artisan.

  • serve: Start a local development server
  • make: Scaffold new classes from stubs
  • migrate: Manage database migrations

Migrations

Full database migration system backed by Doctrine DBAL.

  • migrate / migrate up: Run all pending migrations
  • migrate down: Roll back the last migration
  • migrate fresh: Full reset and re-run
  • migrate clear: Full clear
  • migrate --name=<ClassName> - Force a specific migration

Migration state is tracked in database/migrations/migrations.json and should be committed to your repo. Remove an entry manually to re-run a specific migration.