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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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