lucasabato / laravel-qa-setup
Laravel command to auto-setup full-stack QA tooling for Laravel + Vue + Inertia projects
v0.1.1
2025-07-09 12:36 UTC
Requires
- php: ^8.1
- illuminate/support: ^10|^11
README
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.
Installation
Require the package via Composer:
composer require lucasabato/laravel-qa-setup --dev
Usage
Run the setup command:
php artisan setup:qa
This 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
Requirements
- Laravel 10+
- PHP 8.1+
- Laravel Sail installed and running
jqCLI installed locally
License
MIT