Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Composer Git Hooks Laravel Package

brainmaestro/composer-git-hooks

Manage Git hooks via Composer for PHP projects. Install and run hooks automatically on composer install/update, keeping teams consistent without manual setup. Supports custom hook scripts and easy configuration for pre-commit, pre-push, and more.

Deep Wiki
Context7

Product Decisions This Supports

  • Standardizes development workflows by versioning Git hooks in composer.json, ensuring consistency across all team members and environments.
  • Eliminates manual hook setup, reducing "works on my machine" issues and onboarding friction for new developers.
  • Supports build vs. buy decisions by providing a lightweight, Composer-native solution instead of custom scripts or third-party tools.
  • Enables automated pre-commit/pre-push checks (e.g., linting, tests) as part of the CI/CD pipeline, improving code quality and reducing bugs.

When to Consider This Package

  • Adopt when: Your project uses Composer, has multiple developers, and requires consistent hook enforcement (e.g., linting, tests) across all environments.
  • Adopt when: You need hooks to be version-controlled and auto-updated with code changes (e.g., updating a linting rule triggers hook updates).
  • Look elsewhere if: Your project doesn’t use Composer (e.g., Node.js projects), hooks require complex logic
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests