mpietrucha / pint
Extended Laravel Pint.
Installs: 41
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/mpietrucha/pint
Requires
- php: ^8.5
- composer: ^2.8.9
Requires (Dev)
- brainmaestro/composer-git-hooks: ^3.0
- ergebnis/composer-normalize: ^2.48
- mpietrucha/utility: ^1.0
- phpstan/phpstan: 2.1.31
- symfony/console: ^7.3
- symfony/var-dumper: ^7.3
README
An extended version of Laravel Pint that provides enhanced functionality for code formatting and linting PHP projects.
Installation
Requires PHP 8.5+ and Composer 2.8+
You can install the package via Composer:
composer require mpietrucha/pint
Usage
This example assumes that vendor/bin is globally available in your PATH.
Basic Usage
Run Pint on your project:
pint
Editor Integration
You can integrate Pint with your code editor. For example, with Zed:
"languages": { "PHP": { "formatter": { "external": { "command": "pint", "arguments": ["--std", "{buffer_path}"] } } } }
License
MIT