Download the PHP package realodix/relax without Composer
On this page you can find all versions of the php package realodix/relax. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download realodix/relax
More information about realodix/relax
Files in realodix/relax
Package relax
Short Description Shared php-cs-fixer rules & finders preset
License MIT
Homepage https://github.com/realodix/relax
Informations about the package relax
Relax - PHP-CS-Fixer Custom Rule Sets
Relax is built on top of PHP-CS-Fixer and makes it easy to provide a standardized way to apply coding standards across multiple projects, ensuring consistency and adherence to best practices.
By using predefined rulesets, it simplifies the setup process and allows teams to quickly integrate PHP-CS-Fixer into their development workflow.
Installation
You can install this package by using composer:
Running
Configuration
or using the original PHP-CS-Fixer way
Rule Sets
-
@Realodix/Laravel-Realodix\Relax\Rulesets\LaravelRules that follow the official Laravel coding standards.
-
@Realodix/Relax-Realodix\Relax\Rulesets\RelaxLaravel based with a few tweaks.
Finder Sets
By default, Relax will inspect all .php files in your project except those in the vendor directory.
| Method | Description |
|---|---|
Finder::base() |
The basic finder setup should be perfect for most PHP projects |
Finder::laravel() |
Inherits Finder::base() with some specific tweaks to Laravel |
:bulb: By default, if finder is not set Relax will use Finder::base().
Troubleshooting
For general help and support join our GitHub Discussions.
Please report bugs to the GitHub Issue Tracker.
License
This package is licensed under the MIT License.
All versions of relax with dependencies
friendsofphp/php-cs-fixer Version ^3.88
kubawerlos/php-cs-fixer-custom-fixers Version ^3.35