Installation
Requirements
- PHP ^8.2
- fissible/accord ^1.0 (installed automatically as a dependency)
Install
composer require fissible/driftfissible/accord is installed automatically as a Composer dependency — you do not need to require it separately.
Auto-discovery
drift registers its service provider via Laravel’s package auto-discovery. No manual registration in config/app.php is needed.
After installation, three Artisan commands are available:
php artisan accord:validate # Check for drift (CI gate)php artisan accord:version # Full drift → version bump → changelog pipelinephp artisan drift:coverage # Check controller implementation coverageDev-only install
drift is typically installed as a dev dependency when used only for CI checks and local development. Use --dev if you don’t need it in production:
composer require --dev fissible/driftNote: if you also use watch in production, install drift without --dev since watch depends on drift at runtime.