2017 © Pedro Peláez
 

library php-coding-standards-enforcer

Enforce coding standards on your PHP & Javascript. Now with SWagger Support. Don't let your team mess up your code base.

image

alquesadilla/php-coding-standards-enforcer

Enforce coding standards on your PHP & Javascript. Now with SWagger Support. Don't let your team mess up your code base.

  • Tuesday, October 24, 2017
  • by babaganoush
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,229 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 7 Versions
  • 57 % Grown

The README.md

php-coding-standards-enforcer

Enforce coding standards on your PHP & JS code base, (*1)

Install with composer

composer require alquesadilla/php-coding-standards-enforcer --dev

Add the provider to app config

Alquesadilla\Enforcer\EnforcerServiceProvider::class

Use artisan to publish the config

php artisan vendor:publish --provider="Alquesadilla\Enforcer\EnforcerServiceProvider" --tag=config

Run artisan command to copy the pre-commit hook

php artisan enforcer:copy

If you are working with other developers and you prefer each time that someone makes a clone and runs composer install, the hook is automatically copied, just add the copy command to the composer scripts, anyways it runs only on the defined environment, which by default is local., (*2)

"post-install-cmd": [
    "...laravel commands..."
    "php artisan enforcer:copy"
],

The Versions

24/10 2017

dev-master

9999999-dev

Enforce coding standards on your PHP & Javascript. Now with SWagger Support. Don't let your team mess up your code base.

  Sources   Download

MIT

The Requires

 

by Scott Faisal

laravel hook git phpcs codesniffer pre-commit swagger eslint

24/10 2017

1.0.5

1.0.5.0

Enforce coding standards on your PHP & Javascript. Now with SWagger Support. Don't let your team mess up your code base.

  Sources   Download

MIT

The Requires

 

by Scott Faisal

laravel hook git phpcs codesniffer pre-commit swagger eslint

24/10 2017

1.0.4

1.0.4.0

Enforce coding standards on your PHP & Javascript. Now with SWagger Support. Don't let your team mess up your code base.

  Sources   Download

MIT

The Requires

 

by Scott Faisal

laravel hook git phpcs codesniffer pre-commit swagger eslint

13/10 2017

1.0.3

1.0.3.0

Enforce coding standards on your PHP & Javascript. Don't let your team mess up your code base.

  Sources   Download

MIT

The Requires

 

by Scott Faisal

laravel hook git phpcs codesniffer pre-commit eslint

12/10 2017

1.0.2

1.0.2.0

Enforce coding standards on your PHP & Javascript. Don't let your team mess up your code base.

  Sources   Download

MIT

The Requires

 

by Scott Faisal

laravel hook git phpcs codesniffer pre-commit eslint

12/10 2017

1.0.1

1.0.1.0

Enforce coding standards on your PHP & Javascript. Don't let your team mess up your code base.

  Sources   Download

MIT

The Requires

 

by Scott Faisal

laravel hook git phpcs codesniffer pre-commit eslint

10/10 2017

1.0.0

1.0.0.0

Enforce coding standards on your PHP & Javascript. Don't let your team mess up your code base.

  Sources   Download

MIT

The Requires

 

by Scott Faisal

laravel hook git phpcs codesniffer pre-commit eslint