Introduction to Laravel Pint
mainLaravel Pint is an opinionated PHP code style fixer designed for minimalists. It is built on top of PHP-CS-Fixer and is used to ensure that PHP code remains clean and consistent across a project.
repository·main·Indexed 25 days ago
https://github.com/laravel/pintAn opinionated PHP code style fixer built on top of PHP-CS-Fixer. It provides a CLI tool to maintain clean and consistent code styles with minimal configuration, supporting path-based fixing and stdin input for CI pipelines.
stdin. This is useful for CI pipelines or piping content from other tools. You can provide context for the file path using the --stdin-filename option, which allows Pint to respect exclusion rules defined in your configuration. If no filename is provided, it defaults to stdin.php.default command to control how Pint processes files, handles configuration, and manages output.default command.default command is used to fix the coding style of files at a given path. By default, if no path is provided, it targets the current working directory. You can also pipe code into Pint via stdin.