mdecode / ai-dev-quickstart
Configure new Laravel applications with customizable AI development skills, rules, tooling, and Docker services
Fund package maintenance!
Requires
- php: ^8.3
- illuminate/console: ^12.0||^13.0
- illuminate/filesystem: ^12.0||^13.0
- illuminate/support: ^12.0||^13.0
- symfony/process: ^7.2||^8.0
Requires (Dev)
- larastan/larastan: ^3.9
- laravel/pao: ^1.0
- laravel/pint: ^1.29
- orchestra/testbench: ^10.0||^11.0
- pestphp/pest: ^4.6||^5.0
- pestphp/pest-plugin-laravel: ^4.1||^5.0
- pestphp/pest-plugin-type-coverage: ^4.0||^5.0
- phpstan/extension-installer: ^1.4
README
Ai Dev Quickstart
Ai Dev Quickstart gives a Laravel application an editable development baseline. Its installer adds AI instructions and Laravel skills, a FrankenPHP and PostgreSQL Docker setup, Pint, PHPStan/Larastan, and Rector configuration, plus Composer scripts for the quality suite. Everything it installs belongs to your application and can be customized.
Installation
Install the package as a development dependency, then run the installer from your Laravel application's root:
composer require --dev mdecode/ai-dev-quickstart php artisan ai-dev-quickstart:install
The installer adds:
AGENTS.md,CLAUDE.md, and starter Laravel skills in.agents/skills/;docker-compose.ymland a FrankenPHP Dockerfile with PostgreSQL;pint.json,phpstan.neon, andrector.php;- quality scripts in
composer.json; and - compatible development dependencies for Pest, PHPStan/Larastan, and Rector.
When AGENTS.md or CLAUDE.md already exists, the installer asks whether to append the baseline or replace it; appending is the default. Other existing files, Composer constraints, and scripts are preserved. Use --force only when you intentionally want to replace generated files:
php artisan ai-dev-quickstart:install --force
For an offline or staged setup, --no-composer writes resources and Composer scripts without installing dependencies. Run the installer again without this option when Composer is available:
php artisan ai-dev-quickstart:install --no-composer
Usage
Customize the installed instructions, skills, Docker files, and quality configuration for your application. Re-running the installer preserves them unless --force is supplied.
Docker
Start the included FrankenPHP application and PostgreSQL services:
docker compose up --build
The application is available at http://localhost:8000 by default. Set APP_PORT or DB_* values to customize the Compose services.
Quality commands
# Apply Rector and Pint fixes composer lint # Check Rector and Pint without changing files composer lint:check # Check Pest type coverage composer test:type-coverage # Run Pest with exact coverage composer test:unit # Run PHPStan/Larastan composer test:types # Run the complete quality suite composer test
The exact-coverage test command requires Xdebug, which is included in the generated FrankenPHP image.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Thank you for considering contributing to Ai Dev Quickstart! Please review our contributing guide to get started.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
Ai Dev Quickstart is open-sourced software licensed under the MIT license.