Laravel Pint is an opinionated PHP code-style fixer for minimalists. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent. Pint is automatically installed with all new Laravel applications so you may start using it immediately. By default, Pint does not require any configuration and will fix code style issues in your code by following the opinionated coding style of Laravel. Pint is included in recent releases of the Laravel framework, so installation is typically unnecessary. However, for older applications, you may install Laravel Pint via Composer. You can instruct Pint to fix code style issues by invoking the pint binary that is available in your project's vendor/bin directory. Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation, freeing you to create without sweating the small things.

Features

  • Pint will display a thorough list of all of the files that it updates
  • Pint does not require any configuration
  • Presets defines a set of rules that can be used to fix code style issues in your code
  • Rules are style guidelines that Pint will use to fix code style issues in your code
  • Pint is built on top of PHP-CS-Fixer
  • By default, Pint will inspect all .php files in your project except those in the vendor directory

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

MIT License

Follow Laravel Pint

Laravel Pint Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Laravel Pint!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Code Formatters

Registered

2023-04-25