laravel-quality

Analyze PHP code with PHPStan and format with Laravel Pint.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/Guanez/TindaPOS --skill laravel-quality-guanez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-quality
Source: https://github.com/Guanez/TindaPOS/tree/main/.agents/skills/laravel-quality
Command: npx skills add https://github.com/Guanez/TindaPOS --skill laravel-quality-guanez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires phpstan/phpstan, laravel/pint, laravel/laravel, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps ensure high-quality PHP code by providing comprehensive static analysis, code style checks, and testing guidelines. It helps in maintaining clean, maintainable, and error-free codebase for Laravel projects.

Core Features & Use Cases

  • Static Analysis: Utilizes PHPStan for in-depth analysis of PHP code to detect issues at compile-time.
  • Code Style: Integrates Laravel Pint to enforce PSR standards and best practices.
  • Testing: Provides a guide for setting up and running comprehensive tests using Pest framework.

Quick Start

Run ./vendor/bin/phpstan analyse to check the codebase for issues and ensure strict typing compliance.

Frequently Asked Questions about laravel-quality

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

FAQPage Schema
How do I enforce code quality and strict typing in a Laravel project?

Static code analysis identifies potential errors and type issues in your Laravel codebase before runtime. It checks code against strict typing rules and PSR standards to prevent bugs and improve maintainability using tools like PHPStan.

How do I run static analysis on my Laravel codebase?

You can run static analysis on your Laravel codebase by executing the command `./vendor/bin/phpstan analyse`. This scans your PHP code for issues and ensures strict typing compliance across the project.

Can I use Laravel Pint to enforce PSR standards in my PHP project?

Yes, you can use Laravel Pint to enforce PSR standards and best practices in your PHP project. It integrates seamlessly to automatically format code and maintain a consistent style across your application.

Do I need PHPStan to check strict types in my Laravel application?

You need PHPStan to perform in-depth analysis and verify strict types in your Laravel application. It detects compile-time issues that standard testing might miss, ensuring high reliability and code quality.

What is the best way to maintain a clean and error-free Laravel codebase?

The best way to maintain a clean Laravel codebase is combining static analysis with PHPStan, code formatting via Laravel Pint, and testing guidelines using Pest. This ensures error-free, maintainable code.

Does this static analysis approach work with standard Laravel testing frameworks?

Yes, this static analysis and code quality approach integrates with standard Laravel workflows and provides guidelines for setting up comprehensive tests using the Pest framework to ensure reliability.