2017 © Pedro Peláez
 

library php-cs

Coding styling for PHP based projects.

image

jedkirby/php-cs

Coding styling for PHP based projects.

  • Tuesday, April 18, 2017
  • by jedkirby
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,942 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 7 % Grown

The README.md

PHP Code Styling

Author Packagist Packagist, (*1)

Simply because I want my code styles to be consistent across projects., (*2)

Installation

This package can be installed via Composer:, (*3)

``` bash $ composer require jedkirby/php-cs --dev, (*4)


It requires **PHP >= 5.6.4**. Usage ------- After installing, copy the following boilerplate configuration into a file named `.php_cs` in the root of your project, remembering to modify the finder directories and/or files: ``` php <?php use PhpCsFixer\Finder; use Jedkirby\PhpCs\Config; $finder = Finder::create(); $finder->in(__DIR__ . '/src'); $config = new Config(); $config->setFinder($finder); return $config;

Now you've setup your project with PHP CS, you can run the following command from the root of your project to apply the coding style:, (*5)

bash php vendor/bin/php-cs-fixer fix, (*6)

The Versions

18/04 2017

dev-master

9999999-dev https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

 

18/04 2017

1.0.7

1.0.7.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

 

08/01 2017

1.0.6

1.0.6.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

 

08/01 2017

1.0.5

1.0.5.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

 

07/01 2017

1.0.4

1.0.4.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

07/01 2017

1.0.3

1.0.3.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

07/01 2017

1.0.2

1.0.2.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

07/01 2017

1.0.1

1.0.1.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

07/01 2017

1.0.0

1.0.0.0 https://jedkirby.com

Coding styling for PHP based projects.

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires