Skip to main content

Code Style & Lint

Pandora uses Laravel Pint for it's code style and lint. 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. For more details, visit the Laravel website.

Log Viewer

Run Code Style Fixer​

You can instruct Pint to fix code style issues by invoking the lint command:

composer lint

Configuring Presets​

You can configure the presets, rules, or inspected folders in the pint.json file.

{
"preset": "psr12"
}

Pint's currently supported presets are: laravel, psr12, and symfony.