Back to Skills

laravel-verification

Verification loop for Laravel projects: env checks, linting, static analysis, tests with coverage, security scans, and deployment readiness.

187,873stars29,078forksUpdated 5/21/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score90/100

About laravel-verification

The laravel-verification skill provides a comprehensive verification loop for Laravel projects, ensuring that code quality, environment configuration, security, and deployment readiness are systematically validated. It addresses common challenges in maintaining robust Laravel applications by integrating environment checks, linting, static analysis, tests with coverage, security audits, database migration verification, and deployment readiness into a single structured workflow. This ensures that potential issues are caught early in the development or deployment cycle, reducing the risk of failures in production and streamlining the CI/CD process.

The skill includes multiple sequential phases, each designed to verify critical aspects of a Laravel application. It begins with environment and Composer checks to validate system compatibility and project dependencies. Next, linting and static analysis ensure code adheres to standards and identifies potential issues. Automated tests and coverage reporting confirm functional correctness, followed by security audits to catch vulnerable dependencies. Database migrations and rollbacks are reviewed to prevent destructive changes. Finally, build, deployment, queue, and scheduler checks confirm that the application is fully operational and ready for release. Optional steps accommodate tools like Laravel Sail, PHPStan, Psalm, Horizon, and queue health checks, ensuring flexibility across different project setups.

Ideal use cases include pre-pull request verification, post-refactor validation, and pre-deployment checks for staging or production environments. This skill is intended for Laravel developers, DevOps engineers, and CI/CD pipeline maintainers who want to enforce a structured, repeatable verification process. By using laravel-verification, teams can confidently maintain code quality, reduce deployment risk, and streamline project workflows, ensuring that Laravel applications remain reliable and maintainable throughout their lifecycle.

FAQ

When should I run the laravel-verification loop?

It should be run before opening a pull request, after major refactors or dependency upgrades, and pre-deployment for staging or production environments.

Which static analysis tools are supported?

The skill supports PHPStan by default and Psalm if your project uses it instead.

Can I run this on production environments?

Certain active verification steps, like dispatching test jobs, should only be run on non-production environments. Other phases like environment checks, linting, tests, and security audits can be safely executed in production read-only contexts.

Does this skill handle database migrations safely?

Yes, it includes migration previews, status checks, rollback verification, and enforces descriptive filenames to ensure migrations are safe and reversible.

What are the requirements for using laravel-verification?

A Laravel project with access to Composer, PHP, and optional tools like Laravel Sail, PHPStan, Psalm, Horizon, and queue workers, depending on the phases you want to run.

Install laravel-verification

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill