Download the PHP package wayofdev/cs-fixer-config without Composer

On this page you can find all versions of the php package wayofdev/cs-fixer-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cs-fixer-config


WayOfDev Logo

Build
Build Status

Project
Total Downloads Latest Stable Version Commits since latest release PHP Version Require

Quality
Codecov Mutation testing badge

Community
Discord Follow on Twitter (X)


# PHP CS Fixer Config Wrapper with pre-defined rules around the [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) package โ€” A tool to automatically fix PHP Coding Standards issues. This repository aims 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.
If you **like/use** this package, please consider โญ๏ธ **starring** it. Thanks!
## ๐Ÿ“œ Custom Rulesets **** Based on **`@Symfony`** ruleset * Used by [`@wayofdev`](https://github.com/wayofdev) organization **`WayOfDev\PhpCsFixer\Config\RuleSets\ExtendedPERSet::class`** Based on **`@PER-CS2.0`** ruleset * Used by [`@buggregator`](https://github.com/buggregator) and [`@cycle`](http://github.com/cycle) organizations
## ๐Ÿ’ฟ Installation ### โ†’ Using composer Require as dependency:
## ๐Ÿ›  Configuration ### โ†’ Setup * Create PHP file and name it `.php-cs-fixer.dist.php` and place it inside root directory of project. It will be recognized by PHP CS Fixer automatically. * Example contents of `.php-cs-fixer.dist.php` file: ### โ†’ Composer Script * Add `scripts` section to `composer.json`: ### โ†’ Git * Place `.build` folder file into `.gitignore` ### โ†’ Makefile * If you are using [`Makefile`](https://www.gnu.org/software/make/manual/make.html#Introduction), create a `Makefile` with a `lint-php` and `lint-diff` targets: Or, you can check for one of our pre-configured `Makefile` from any of these repositories: ### โ†’ GitHub Actions * To use this package in [GitHub Actions](https://github.com/features/actions), add a `coding-standards.yml` workflow to your repository: Or, you can check for one of our pre-configured workflows from any of these repositories:
## ๐Ÿ’ป Usage Fix coding standards by simply running console command: ### โ†’ Directly ### โ†’ Via Composer Script To use via composer script commands: * Fixes code to follow coding standards using php-cs-fixer: * Runs php-cs-fixer in dry-run mode and shows diff which will by applied: ### โ†’ Using Makefile **To use with `Makefile`** * Fixes code to follow coding standards using php-cs-fixer: * Runs php-cs-fixer in dry-run mode and shows diff which will by applied:
## ๐Ÿ”’ Security Policy This project has a [security policy](.github/SECURITY.md).
## ๐Ÿ™Œ Want to Contribute? Thank you for considering contributing to the wayofdev community! We are open to all kinds of contributions. If you want to: * ๐Ÿค” [Suggest a feature](https://github.com/wayofdev/php-cs-fixer-config/issues/new?assignees=&labels=type%3A+enhancement&projects=&template=2-feature-request.yml&title=%5BFeature%5D%3A+) * ๐Ÿ› [Report an issue](https://github.com/wayofdev/php-cs-fixer-config/issues/new?assignees=&labels=type%3A+documentation%2Ctype%3A+maintenance&projects=&template=1-bug-report.yml&title=%5BBug%5D%3A+) * ๐Ÿ“– [Improve documentation](https://github.com/wayofdev/php-cs-fixer-config/issues/new?assignees=&labels=type%3A+documentation%2Ctype%3A+maintenance&projects=&template=4-docs-bug-report.yml&title=%5BDocs%5D%3A+) * ๐Ÿ‘จโ€๐Ÿ’ป Contribute to the code You are more than welcome. Before contributing, kindly check our [contribution guidelines](.github/CONTRIBUTING.md). [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=for-the-badge)](https://conventionalcommits.org)
## ๐Ÿซก Contributors

Contributors Badge

## ๐ŸŒ Social Links * **Twitter:** Follow our organization [@wayofdev](https://twitter.com/intent/follow?screen_name=wayofdev) and the author [@wlotyp](https://twitter.com/intent/follow?screen_name=wlotyp). * **Discord:** Join our community on [Discord](https://discord.gg/CE3TcCC5vr).
## ๐Ÿงฑ Resources * Full documentation about all fixers is available here - [PHP-CS-Fixer configuration UI](https://mlocati.github.io/php-cs-fixer-configurator/#version:3.0) * The official [PHP-CS-Fixer documentation](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
## โš–๏ธ License [![Licence](https://img.shields.io/github/license/wayofdev/php-cs-fixer-config?style=for-the-badge&color=blue)](./LICENSE.md)

All versions of cs-fixer-config with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
friendsofphp/php-cs-fixer Version ^3.57
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wayofdev/cs-fixer-config contains the following files

Loading the files please wait ....