Skip to content

Latest commit

 

History

History
88 lines (51 loc) · 2.26 KB

README.md

File metadata and controls

88 lines (51 loc) · 2.26 KB

Build

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

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 😉