https://github.com/devdrops/php-pre-commit
:octocat: Git pre-commit hook designed for PHP projects.
https://github.com/devdrops/php-pre-commit
git git-hook php
Last synced: 6 months ago
JSON representation
:octocat: Git pre-commit hook designed for PHP projects.
- Host: GitHub
- URL: https://github.com/devdrops/php-pre-commit
- Owner: devdrops
- License: mit
- Created: 2016-04-11T18:45:17.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-03-11T16:04:43.000Z (over 1 year ago)
- Last Synced: 2025-04-20T18:39:45.879Z (7 months ago)
- Topics: git, git-hook, php
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-pre-commit
Git pre-commit hook file for PHP projects

## How to Use?
1. `git clone` this repository.
2. Copy the `pre-commit` file to your project's Git hooks folder. Make sure that the `pre-commit` file is executable.
2. Now copy the `config.dist` file to your Git hooks folder, and rename it to `config`.
3. Edit the `config` file with your preferences.
Kudos for [Johnathan Pulos](https://github.com/codemis) for [his amazing Gist](https://gist.github.com/codemis/8225337)!