2017 © Pedro Peláez
 

library hooks

Padosoft git hooks

image

padosoft/hooks

Padosoft git hooks

  • Wednesday, August 9, 2017
  • by lopadova
  • Repository
  • 2 Watchers
  • 0 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

hooks

Padosoft git hooks, (*1)

Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*2)

Table of Contents

Prerequisites

Install

This package can be installed through Composer., (*3)

bash composer require padosoft/hooks, (*4)

If you install in a laravel project add in config->app.php the following value in service providers array:, (*5)

Padosoft\Hooks\HooksServiceProvider::class,, (*6)

then use php artisan vendor:publish, (*7)

In a non-laravel project you must copy the .php_cs file from vendor/padosoft/hooks/src/config to the root of project, and the pre-commit file from vendor/padosoft/hooks/src/config to .git/hooks folder. If you want customize the static-review operation create hooks folder in the root of project then copy pre-commit.php file from vendor/padosoft/static-review/src/config/pre-commit.php., (*8)

Be careful in a linux or mac environment change, (*9)

php.exe "vendor/padosoft/hooks/src/php-cs-fix.php" php.exe "vendor/padosoft/hooks/src/static-review-pre-commit.php", (*10)

in the .git/hooks/pre-commit file to, (*11)

php "vendor/padosoft/hooks/src/php-cs-fix.php" php "vendor/padosoft/hooks/src/static-review-pre-commit.php", (*12)

Usage

Pre-commit git hook is invoked by git commit. Exiting with non-zero status from this script causes the git commit to abort. Can be bypassed with --no-verify option., (*13)

Example

Screenshots

Change Log

Please see CHANGELOG for more information what has changed recently., (*14)

Testing

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*15)

Security

If you discover any security related issues, please email instead of using the issue tracker., (*16)

API Documentation

Credits

About Padosoft

Padosoft is a software house based in Florence, Italy. Specialized in E-commerce and web sites., (*17)

License

The MIT License (MIT). Please see License File for more information., (*18)

The Versions

09/08 2017

dev-master

9999999-dev https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

09/08 2017

0.1.4

0.1.4.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

25/03 2016

0.1.3

0.1.3.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

10/03 2016

0.1.2

0.1.2.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

10/03 2016

0.1.1

0.1.1.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

08/03 2016

0.1.0

0.1.0.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

03/03 2016

0.0.3

0.0.3.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

03/03 2016

0.0.2

0.0.2.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality

02/03 2016

0.0.1

0.0.1.0 https://github.org/padosoft/hooks/

Padosoft git hooks

  Sources   Download

MIT

The Requires

 

git pre-commit hooks code quality