A Laravel package providing an Artisan command to setup QA tooling with Laravel Sail, including PHP and JavaScript linting, formatting, static analysis, testing, and config files.
Require the package via Composer:
composer require lucasabato/laravel-qa-setup --devRun the setup command:
php artisan setup:qaThis will:
- Detect if
pnpmornpmis used and install packages accordingly - Detect if Inertia.js is installed and install Vue-related tools only if needed
- Install Composer dev dependencies (Pint, Larastan, PHPUnit, Laravel Insights)
- Install JavaScript dev dependencies (ESLint, Prettier, Vitest, etc.)
- Add helpful scripts to
composer.jsonandpackage.json - Generate missing config files (
.eslintrc.cjs,.prettierrc,tsconfig.json, etc.) - Run initial frontend build via Sail
- Laravel 10+
- PHP 8.1+
- Laravel Sail installed and running
jqCLI installed locally
MIT