Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erikgall/php-cs-fixer-config
PHP-CS-Fixer configuration & Laravel installer
https://github.com/erikgall/php-cs-fixer-config
laravel linter php-cs-fixer php-cs-fixer-config php-cs-fixer-ruleset php-linter
Last synced: 2 months ago
JSON representation
PHP-CS-Fixer configuration & Laravel installer
- Host: GitHub
- URL: https://github.com/erikgall/php-cs-fixer-config
- Owner: erikgall
- Created: 2020-03-18T22:08:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T22:41:55.000Z (almost 5 years ago)
- Last Synced: 2024-04-28T09:44:07.126Z (9 months ago)
- Topics: laravel, linter, php-cs-fixer, php-cs-fixer-config, php-cs-fixer-ruleset, php-linter
- Language: PHP
- Homepage:
- Size: 24.4 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP-CS-Fixer Config
This package contains the `PHP-CS-Fixer` configuration that I use on all projects. It is best used with a Laravel application (but can be used very easily w/ any PHP project -- copy the `.php_cs` in the root directory to your project after installing via Composer).
I have spent a lot of time building of this configuration file over the years. Feel free to open up a PR if you think a new rule should be added to the configuration.
## Install the package
```bash
composer require erikgall/php-cs-fixer-config
```## Commands / Usage
### Running Install Command (Laravel)
```bash
php artisan fixer:install
```### Running Fix Command (Laravel)
```bash
php artisan fix
```