Programming style guide - JoseTor101/ApollosGearShop GitHub Wiki

For this project we use Laravel Pint as default formatter:

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 automatically installed with all new Laravel applications so you may start using it immediately. By default, Pint does not require any configuration and will fix code style issues in your code by following the opinionated coding style of Laravel -- Laravel Docs

Install

Make sure you have PHP 8.0.2 or higher installed on your system.

Install Laravel Pint using composer require laravel/pint --dev

Use

Whenever you finish your changes run in root ./vendor/bin/pint

That's it! Happy coding :)

⚠️ **GitHub.com Fallback** ⚠️