This is the process and standard that I use for the vast majority of my Laravel code bases and projects.
For more information about php-cs-fixer visit the project repository: FriendsOfPHP/PHP-CS-FIXER.
Add the following .php_cs
file to the root of your project.
.php_cs