Manage git hooks easily in your composer configuration. This command line tool makes it easy to implement a consistent project-wide usage of git hooks. Specifying hooks in the composer file makes them available for every member of the project team. This provides a consistent environment and behavior for everyone which is great. It is also possible to use to manage git hooks globally for every repository on your computer. That way you have a reliable set of hooks crafted by yourself for every project you choose to work on. You can also install it globally. This feels much more natural when cghooks is used with the newly added support for managing global git hooks. When a hook is a sequence of commands, it can be useful to stop the execution when a command fails. Custom hooks can be added to the custom-hooks array of the `config section.

Features

  • Composer Events
  • Custom hooks
  • Global support
  • The lock file contains a list of all added hooks
  • Hooks can be easily removed with cghooks remove
  • Test Hooks

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow composer-git-hooks

composer-git-hooks Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of composer-git-hooks!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PHP

Related Categories

PHP Git Software, PHP Command Line Tools

Registered

2022-12-22