This package is abandoned and no longer maintained. No replacement package was suggested.

The Eloquent code style definition for PHP.

2.0.1 2023-02-12 09:41 UTC

This package is auto-updated.

Last update: 2023-08-08 03:57:25 UTC


No longer maintained

This package is no longer maintained. See this statement for more info.

Eloquent PHP code style definition


Install dependencies:

composer require --dev friendsofphp/php-cs-fixer eloquent/code-style

Add a .php-cs-fixer.php file:

<?php return Eloquent\CodeStyle\Config::create(__DIR__);

To customize excluded paths, access the existing finder object:


$config = Eloquent\CodeStyle\Config::create(__DIR__);

return $config;


vendor/bin/php-cs-fixer fix