lucasabato/laravel-qa-setup

Laravel command to auto-setup full-stack QA tooling for Laravel + Vue + Inertia projects

Maintainers

Package info

github.com/lucaSabato/laravel-qa-setup

pkg:composer/lucasabato/laravel-qa-setup

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2025-07-09 12:36 UTC

This package is auto-updated.

Last update: 2026-03-09 14:51:00 UTC


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 pnpm or npm is 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.json and package.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
  • jq CLI installed locally

License

MIT