Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasboom89/captainhook-collection
My captainhook configuration collection
https://github.com/thomasboom89/captainhook-collection
composer php
Last synced: 7 days ago
JSON representation
My captainhook configuration collection
- Host: GitHub
- URL: https://github.com/thomasboom89/captainhook-collection
- Owner: ThomasBoom89
- License: mit
- Created: 2022-05-28T19:02:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-24T18:27:36.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T20:52:58.119Z (7 days ago)
- Topics: composer, php
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Captainhook Collection
![License](https://img.shields.io/badge/license-MIT-green?style=plastic)
A collection of git hooks installed with [CaptainHook](https://github.com/CaptainHookPhp/captainhook).
## Requirements
You need to have php and composer installed.
Obvious, you need CaptainHook installed too and also the specific tool you would like to use as hook.```zsh
composer require --dev captainhook/captainhook
// For example phpunit
composer require --dev phpunit/phpunit
```For general installation and usage of CaptainHook see their [docs](https://captainhookphp.github.io/captainhook/).
## Installation
```zsh
composer require --dev thomasboom89/captainhook-collection
```There is an example config for composer and also an example config for captainhook in
vendor/thomasboom89/captainhook-collection.
You can modify and/or copy specifc parts to your config in your projects root directory.Don't forget to run
```zsh
vendor/bin/captainhook install
```to update your git hooks.
## License
Captainhook Collection
\
Copyright (C) 2022 ThomasBoom89. MIT license.