This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

AppVentus custom git hooks

Installs: 52

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 11

Forks: 0

Open Issues: 0


dev-master 2013-08-05 09:45 UTC

This package is not auto-updated.

Last update: 2021-09-13 00:23:53 UTC


This tool insert a git hook that will run php syntax checks and phpunit tests for your symfony2 application.

  1. Installation

add thoose lines in your composer.json :

"require-dev": {
    "appventus/hooks": "dev-master"

"scripts": {
    "post-update-cmd": [
        "chmod a+x vendor/appventus/hooks/ && sh vendor/appventus/hooks/"
  1. Usage

When you'll commit a change, syntax and phpunit will run. In case of fail, the commit will be aborted You can run the commit without validation: git commit -n

Enjoy !