tagadamedia / laravel-pre-commit
2.0.0
2026-05-04 11:31 UTC
Requires
- php: ^8.5
- friendsofphp/php-cs-fixer: ^3.73
- larastan/larastan: ^3.0
- pestphp/pest: ^3.7
README
Add this line in your composer.json
"config": {
"bin-dir": "bin"
}
And change pre-commit symlink in your project :
rm -f .git/hooks/pre-commit && mkdir -p .git/hooks && ln -s ../../bin/laravel-pre-commit .git/hooks/pre-commit