Download the PHP package madewithlove/php-cs-fixer-config without Composer
On this page you can find all versions of the php package madewithlove/php-cs-fixer-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madewithlove/php-cs-fixer-config
More information about madewithlove/php-cs-fixer-config
Files in madewithlove/php-cs-fixer-config
Package php-cs-fixer-config
Short Description Prebuilt PHP CS Fixer configuration for Madewithlove projects
License MIT
Informations about the package php-cs-fixer-config
madewithlove PHP-CS-Fixer configuration
The default [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) configuration for madewithlove projects.
![ci](https://github.com/madewithlove/php-cs-fixer-config/actions/workflows/ci.yml/badge.svg)
[![pull requests](https://img.shields.io/github/issues-pr/madewithlove/php-cs-fixer-config)](https://github.com/madewithlove/php-cs-fixer-config/pulls)
[![contributors](https://img.shields.io/github/contributors/madewithlove/php-cs-fixer-config)](https://github.com/madewithlove/php-cs-fixer-config/graphs/contributors)
Built with :heart:︎ and :coffee: by heroes at madewithlove.
Installation
Usage
Basic usage
.php-cs-fixer.php
To exclude a subfolder:
This will skip src/ignoreThisDir
or src/foo/bar/ignoreThisDir
. (The folder has to be relative to the ones in the first argument.)
You can also override rules per-project without overriding the core rules like this:
.php-cs-fixer.php
Usage within a Laravel project
You can also preconfigure the configuration for a Laravel project by calling a special factory method:
.php-cs-fixer.php
If need be, you can also append folders to fix in addition to Laravel's:
.php-cs-fixer.php
Targeting a specific PHP version
By default, the configuration will check the version of PHP you run the tool with, and proceed to enable/disable fixers depending on it.
You can override the target PHP version by passing it either as constructor argument, or as second argument to fromFolders
:
.php-cs-fixer.php