Shift with red gradient lettering

Configuring Shift

Shift allows you to customize aspects of its automation. Similar to other tools and services, you may configure Shift by adding a .shiftrc file in the project root folder.

The .shiftrc file uses an INI format. Much like the PHP and Laravel configuration files, documentation for each option is embedded within the comments.

The file below contains all available options with their default values. While you are welcome to copy the entire file, you may simply set only the options you wish to customize in your .shiftrc file.

Note, if you only wish to customize the code style Shift applies, you may instead add a PHP Code Sniffer, PHP CS Fixer, or Pint configuration in the project root folder. Shift will automatically detect and use your configuration when formatting code. For more details, watch our short video on customizing the code style.

.shiftrc

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.