CaptainHook is an easy-to-use and very flexible git hook library for php developers. It enables you to configure your git hook actions in a simple json file. You can use CaptainHook to validate or prepare your commit messages, ensure code quality or run unit tests before you commit or push changes to git. You can automatically clear local caches or install the latest composer dependencies after pulling the latest changes. CaptainHook makes it easy to share hooks within your team and even can make sure that everybody in your team activates the hooks locally. You can run cli commands, use some built in validators, or write your own PHP classes that get executed by CaptainHook. For more information have a look at the documentation. Install the CaptainHook PHAR using Phive or download the PHAR from the github release page.

Features

  • CaptainHook makes it easy to share hooks
  • You can run cli commands
  • Use some built in validators
  • Write your own PHP classes
  • Make sure that everybody in your team activates the hooks locally
  • You can use CaptainHook to validate or prepare your commit messages

Project Samples

Project Activity

See All Activity >

Categories

Git

License

MIT License

Follow CaptainHook

CaptainHook Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CaptainHook!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PHP

Related Categories

PHP Git Software

Registered

2022-12-24