Skip to content

malyMiso/php-cs-fixer-configurator

 
 

Repository files navigation

TravisCI Build Status

PHP-CS-Fixer Configurator

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.

Updating the PHP-CS-Fixer data

The PHP-CS-Fixer data is extracted by a couple of PHP scripts.

NOTE: on Windows, use backslashes (\) instead of forward slashes (/).

One time setup

  1. install PHP
  2. install Composer and add it to the PATH environment variable, so that it can be executed by running composer
  3. run
    composer install

Updating the data to the most recent versions

./bin/update-docs-all

(Re)Generate the data for all the versions

./bin/update-docs-all --force

Generating the data for a specific version

For example, to (re) generate the data for version 2.15.1:

./bin/update-docs 2.15.1

Building the web application

The web application is written in TypeScript and Vue, and it's compiled with Laravel Mix.

One time setup

  1. install node.js - including npm.
  2. run
    npm install

Building the app for production

npm run prod

Building the app while developing

npm run watch

Submitting pull requests

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.

Credits

PHP-CS-Fixer Configurator uses some great open source tools.

You can find their licenses in the licenses directory.

Do you want to really say thank you?

You can offer me a monthly coffee or a one-time coffee 😉

About

Inspect PHP-CS-Fixer fixers and easily configure them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 41.1%
  • Vue 40.9%
  • PHP 16.0%
  • SCSS 0.6%
  • Dockerfile 0.6%
  • JavaScript 0.4%
  • Other 0.4%