Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://mlocati.github.io/php-cs-fixer-configurator/
Inspect PHP-CS-Fixer fixers and easily configure them
https://mlocati.github.io/php-cs-fixer-configurator/
coding php php-cs-fixer style
Last synced: 3 months ago
JSON representation
Inspect PHP-CS-Fixer fixers and easily configure them
- Host: GitHub
- URL: https://mlocati.github.io/php-cs-fixer-configurator/
- Owner: mlocati
- License: mit
- Created: 2017-05-11T14:19:36.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T12:02:56.000Z (4 months ago)
- Last Synced: 2024-08-28T13:30:04.780Z (4 months ago)
- Topics: coding, php, php-cs-fixer, style
- Language: TypeScript
- Homepage: https://mlocati.github.io/php-cs-fixer-configurator/
- Size: 7.78 MB
- Stars: 258
- Watchers: 10
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-php - PHP CS Fixer Configurator - A web application to help configure PHP CS Fixer rule sets. (Table of Contents / Code Quality)
- trackawesomelist - PHP CS Fixer Configurator - A web application to help configure PHP CS Fixer rule sets. (Recently Updated / [Sep 15, 2024](/content/2024/09/15/README.md))
README
[![Build](https://github.com/mlocati/php-cs-fixer-configurator/actions/workflows/build.yml/badge.svg)](https://github.com/mlocati/php-cs-fixer-configurator/actions/workflows/build.yml)
# PHP-CS-Fixer Configurator
This project lets you check all the available fixers and presets built in [PHP-CS-Fixer](https://github.com/FriendsOfPHP/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](https://php.net/)
2. install [Composer](https://getcomposer.org/) 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
```sh
./bin/update-docs-all
```### (Re)Generate the data for all the versions
```sh
./bin/update-docs-all --force
```### Generating the data for a specific version
For example, to (re) generate the data for version 2.15.1:
```sh
./bin/update-docs 2.15.1
```## Building the web application
The web application is written in [TypeScript](https://www.typescriptlang.org/) and [Vue](https://vuejs.org/), and it's compiled with [Laravel Mix](https://laravel-mix.com/).
### One time setup
1. install [node.js](https://nodejs.org/) - including npm.
2. run
```sh
npm install
```### Building the app for production
```sh
npm run prod
```### Building the app while developing
```sh
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](https://mlocati.github.io/php-cs-fixer-configurator/) uses some great open source tools.
You can find their licenses in the [licenses](https://github.com/mlocati/php-cs-fixer-configurator/tree/main/licenses) directory.
## Do you want to really say thank you?
You can offer me a [monthly coffee](https://github.com/sponsors/mlocati) or a [one-time coffee](https://paypal.me/mlocati) :wink: