pint

markhamsquareventures's avatarfrom markhamsquareventures

Laravel Pint syntax reference

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 8, 2026

When & Why to Use This Skill

This Claude skill serves as a specialized syntax reference and operational guide for Laravel Pint, an opinionated PHP code style fixer. It helps developers automate code linting and formatting within Laravel projects, ensuring that the codebase remains clean, consistent, and compliant with modern PHP standards without manual intervention.

Use Cases

  • Code Style Standardization: Automatically format PHP files to match Laravel's recommended coding style, eliminating 'nitpick' comments during code reviews.
  • Efficient Pre-commit Checks: Use the --dirty flag to quickly identify and fix styling issues only in files that have been modified, optimizing the local development workflow.
  • Targeted File Formatting: Provide precise commands to format specific files or directories during active development to maintain high code quality on the fly.
  • Development Workflow Integration: Incorporate Pint into the 'dev.check' suite to ensure all style requirements are met before finalizing pull requests or commits.
namepint
descriptionLaravel Pint syntax reference

Laravel Pint

Instructions

  • Run vendor/bin/pint --dirty before finalizing changes to ensure your code matches the project's expected style.
  • Do not run vendor/bin/pint --test, simply run vendor/bin/pint to fix any formatting issues.
  • During development, run ./vendor/bin/pint {file} to format specific files
  • Use dev.check to run the full suite before committing