Download the PHP package stechstudio/laravel-php-cs-fixer without Composer

On this page you can find all versions of the php package stechstudio/laravel-php-cs-fixer. 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 laravel-php-cs-fixer

Deprecated

This package is deprecated. We encourage you to look at Laravel Pint instead.

Laravel PHP CS Fixer

The PHP CS Fixer is maintained on GitHub at https://github.com/FriendsOfPHP/PHP-CS-Fixer bug reports and ideas about new features are welcome there.

The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow standards; whether you want to follow PHP coding standards as defined in the PSR-1, PSR-2, etc., or other community driven ones like the Symfony one. You can also define your (teams) style through configuration.

This package makes it easier than ever to use PHP CS Fixer to maintain your laravel code by providing access to it via tools that you are already familiar with. An artisan command to fix the code, and manage the configuration the way you do all the other laravel packages you use.

Features of this package

Versions and compatibility

Note: This documentation was written for Laravel 5.5.

  • PHP Version: "^7.1.3 || ^8.0"
  • Laravel/Lumen: "^5.4|^6.0|^7.0|^8.0"
  • PHP-CS-Fixer: "^3.0.0"

Installation

Configuration

The default rule configuration is in the fixer.php and is intended to match the rules used by Laravel Shift.

if you want to modify this yourself, just use artisan php artisan vendor:publish --provider="STS\Fixer\FixerServiceProvider" and it will put the default configuration in 'config/fixer.php'. Check the
PHP-CS-Fixer/README for valid rules.

Usage

Fix Your Code

Fix your code with Laravel Coding Standards.

Syntax:

Example:


All versions of laravel-php-cs-fixer with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3 || ^8.0
illuminate/support Version ^5.4|^6.0|^7.0|^8.0|^9.0
friendsofphp/php-cs-fixer Version ^3.0.0
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 stechstudio/laravel-php-cs-fixer contains the following files

Loading the files please wait ....