This project lets you check all the available fixers and presets built in PHP-CS-Fixer in a visual way.
It allows you also to create configuration files via a guided interface.
The PHP-CS-Fixer data is extracted by a couple of PHP scripts.
NOTE: on Windows, use backslashes (
\
) instead of forward slashes (/
).
- install PHP
- install Composer and add it to the
PATH
environment variable, so that it can be executed by runningcomposer
- run
composer install
./bin/update-docs-all
./bin/update-docs-all --force
For example, to (re) generate the data for version 2.15.1:
./bin/update-docs 2.15.1
The web application is written in TypeScript and Vue, and it's compiled with Laravel Mix.
- install node.js - including npm.
- run
npm install
npm run prod
npm run watch
Because of security reasons and to reduce merge conflicts, the following files are generated automatically:
docs/css/*
docs/fonts/*
docs/js/*
docs/index.html
So, please don't add these files to your commits when submitting pull requests.
PHP-CS-Fixer Configurator uses some great open source tools.
You can find their licenses in the licenses directory.
You can offer me a monthly coffee or a one-time coffee 😉