pint
php-cs-fixer-ga
Our great sponsors
pint | php-cs-fixer-ga | |
---|---|---|
13 | 2 | |
2,670 | 180 | |
1.6% | - | |
8.7 | 8.4 | |
6 days ago | 7 days ago | |
PHP | Dockerfile | |
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.
-
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).
-
How to Add Laravel Pint to VS Code Formatter
and as per me, Pint is the so far most sophisticated code formatter i have ever user in the reference of PHP. You can find more details about laravel/pint here.
- Laravel Pint is a minimalist code style fixer for PHP
php-cs-fixer-ga
-
GitHub - laravel/pint: Laravel Pint is a minimalist code style fixer for PHP.
PHP CS fixer has a great ecosystem with things like PHPstorm integration (https://www.jetbrains.com/help/phpstorm/using-php-cs-fixer.html) and GitHub Actions integration (https://github.com/OskarStark/php-cs-fixer-ga).
-
PHP Code Style
For Github Action, you may refer to this example, how it can be done or you can refer to the following snippet:
What are some alternatives?
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
sonarcloud-github-action - Integrate SonarCloud code analysis to GitHub Actions
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
phplint - :bug: A tool that can speed up linting of php files by running several lint processes at once.
wait-action - 💤 Very, very simple (and small) action to sleep for an amount of time — 10s, 2m, etc.
astropy - Astronomy and astrophysics core library
php-docker-skeleton - Example PHP app dockerized
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
github-action - :zap::octocat: A Github Action for deploying with the Serverless Framework
phpinsights - 🔰 Instant PHP quality checks from your console
climateclock-gh-action - Action to update markdown with climateclock.world