PHP code example of madewithlove / php-cs-fixer-config
1. Go to this page and download the library: Download madewithlove/php-cs-fixer-config library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
madewithlove / php-cs-fixer-config example snippets
n Madewithlove\PhpCsFixer\Config::fromFolders(['src']);
n Madewithlove\PhpCsFixer\Config::fromFolders(['src'], null, ['ignoreThisDir']);
n Madewithlove\PhpCsFixer\Config::fromFolders(['src'])->mergeRules([
'php_unit_strict' => false,
]);
n Madewithlove\PhpCsFixer\Config::forLaravel();
n Madewithlove\PhpCsFixer\Config::forLaravel(['some_other_folder']);
n Madewithlove\PhpCsFixer\Config::fromFolders(['src'], '7.4');
// or
return Madewithlove\PhpCsFixer\Config::forLaravel([], '7.4');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.