laravel-verification

Run environment checks, linting, static analysis, tests, and security scans on Laravel projects.

3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/idiaz01/enterprise-superpowers --skill laravel-verification-idiaz01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-verification
Source: https://github.com/idiaz01/enterprise-superpowers/tree/main/content/skills/laravel-verification
Command: npx skills add https://github.com/idiaz01/enterprise-superpowers --skill laravel-verification-idiaz01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel projects often face inconsistent verification before PRs and deployments. This skill automates an end-to-end loop to confirm environment setup, code quality, and readiness for deployment.

Core Features & Use Cases

  • Environment checks (php -v, composer, php artisan --version)
  • Linting and static analysis (vendor/bin/pint --test, vendor/bin/phpstan analyse)
  • Tests with coverage (php artisan test, XDEBUG_MODE=coverage)
  • Security and migrations readiness (composer audit, php artisan migrate --pretend, migrate status)
  • Deployment readiness (cache/config/route/view optimization) Use cases include PR pre-checks, post-refactor audits, and pre-deployment validations across Laravel projects.

Quick Start

Install the Laravel verification loop into your project and run the verification to ensure code quality and readiness before merging.

Frequently Asked Questions about laravel-verification

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Laravel pre-deployment checks for migrations and security?

Laravel pre-deployment checks involve running composer audit for vulnerabilities and php artisan migrate --pretend to validate database migrations. This verifies security and migration readiness without modifying the actual database schema.

What is included in an end-to-end Laravel verification process?

An end-to-end Laravel verification process includes environment checks, linting with Pint, static analysis with PHPStan, test coverage, security scans, and deployment readiness validations like cache and route optimization.

How do I automate Laravel linting and static analysis before a PR?

Automate Laravel linting and static analysis before a PR by running vendor/bin/pint --test for code styling and vendor/bin/phpstan analyse for static code evaluation. This ensures code quality standards are enforced automatically.

Do I need PHP and composer installed to run Laravel static analysis and tests?

Yes, you need PHP and composer installed to run Laravel static analysis and tests, as the verification requires composer for dependency management and PHP artisan tooling to execute test suites and validate the environment.

What's the best way to validate Laravel deployment readiness across multiple environments?

The best way to validate Laravel deployment readiness is by running cache, config, route, and view optimization commands. This confirms the application is properly configured and optimized before deployment across different environments.

How do I generate test coverage reports for a Laravel project?

Generate test coverage reports for a Laravel project by executing php artisan test with XDEBUG_MODE=coverage enabled. This runs the test suite and produces actionable coverage metrics to validate code integrity.