pint
phplint
Our great sponsors
pint | phplint | |
---|---|---|
13 | 1 | |
2,653 | 963 | |
1.7% | - | |
8.7 | 8.9 | |
8 days ago | about 2 months ago | |
PHP | PHP | |
MIT License | MIT License |
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
-
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.
-
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?
-
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).
-
GitHub - laravel/pint: Laravel Pint is a minimalist code style fixer for PHP.
I think there's a bundled copy of php-cs-fixer hidden inside the binary file https://github.com/laravel/pint/blob/main/builds/pint
I wonder why it requires PHP 8.0 and do not use any new PHP features like parameter or return typing? Like here: https://github.com/laravel/pint/blob/main/app/ValueObjects/Issue.php It's not 2012 anymore.
phplint
-
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?
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
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
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
phpinsights - 🔰 Instant PHP quality checks from your console
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
tlint - Tighten linter for Laravel conventions.
php-cs-fixer-ga - GithubAction for PHP-CS-Fixer
easy-coding-standard - The Easiest way to add coding standard to your PHP project
phpinspectionsea - A Static Code Analyzer for PHP (a PhpStorm/Idea Plugin)