pint
Laravel Pint is an opinionated PHP code style fixer for minimalists. (by laravel)
phplint
:bug: A tool that can speed up linting of php files by running several lint processes at once. (by overtrue)
pint | phplint | |
---|---|---|
16 | 1 | |
2,898 | 1,003 | |
1.5% | 1.2% | |
8.7 | 8.1 | |
20 days ago | 12 days ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pint
Posts with mentions or reviews of pint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-03.
-
How to build a Laravel app using TDD that won't hurt you in the future
Laravel has Laravel Pint package installed which is just a wrapper around PHP-CS-Fixer. Create pint.json in your project root.
-
Late Night Refactors #1: Composer Packages
My biggest challenge while coding Sudorealm was dealing with code inconsistencies between features, caused by the long breaks I took between development sessions. I know you can relate to this! This is where laravel/pint šŗ comes to play.
-
Setting up neovim for Laravel development
require("conform").setup({ formatters_by_ft = { -- Laravel's Formatter -- See: https://github.com/laravel/pint php = { "pint" }, } })
-
How to setup efm-langserver for pint formatter?
I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.
-
Laravel Pint... aka Standards + 1
Well, the rules are defined here: https://github.com/laravel/pint/blob/main/resources/presets/laravel.php
-
Laravel Pint v1.0 Released
Be sure to check out the Pint documentation at https://github.com/laravel/pint. We hope you enjoy this new package. At Laravel, we're committed to providing you with the most robust and developer-friendly PHP experience in the world. Enjoy!
-
7 Laravel Packages to Improve Coding Standards and ReduceĀ Bugs
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 a new addition to the Laravel framework.
- How do you feel about laravel/pint?
-
How to Fix and Clean Code Style in laravel 9
For details vist https://github.com/laravel/pint
-
Modern PHP practices... where to start, what to look out for?
Static Analysis Tools - there are a number of tools that help you to manage code style (PHPCS, PHP-CSFixer, and a new one, Laravel Pint), as well as tools to analyse the "correctness" of your code (Psalm, PHPstan, in particular LaraStan).
phplint
Posts with mentions or reviews of phplint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-09-27.
-
Continuous Integration for PHP
build: runs PHPLint on the source code and copies the source code and the dependencies in the tmp\out\bin folder. If I had to do it today I would probably isolate the first action in an analyze target. The second action would do well in the package target. My own consistency evolves over timeā¦
What are some alternatives?
When comparing pint and phplint you can also consider the following projects:
larastan - āļø Adds code analysis to Laravel improving developer productivity and code quality.
tlint - Tighten linter for Laravel conventions.
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
synology-dlm-rarbg - RarBG search module for Synology Download Manager
astropy - Astronomy and astrophysics core library
php-static-analysis-tools - A reviewed list of useful PHP static analysis tools