Configure Shift to apply your own custom code style.
Some Laravel Shifts automatically apply code style to your application code.
Doing so improves the automation within Shift by normalizing the code between new and old versions of core files.
By default, Shift applies the Laravel framework code style. Although Shift recommends adopting this code style, it may not follow your personal formatting preferences.
No additional configuration is required. Shift will automatically detect the presence of this file and use it to apply your code style whenever it formats PHP code.
If you are not using one of these tools to automate formatting your code, Shift recommends using PHP CS Fixer version 3.x.
The latest PHP CS Fixer ruleset Shift uses is publicly available in a Gist. Feel free to use this as a starting point to create your own custom code style.
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.