Go to file
Maxime 200495442f init 2024-04-05 01:40:22 +02:00
src init 2024-04-05 01:40:22 +02:00
stubs init 2024-04-05 01:40:22 +02:00
.editorconfig init 2024-04-05 01:40:22 +02:00
.gitattributes init 2024-04-05 01:40:22 +02:00
.gitignore init 2024-04-05 01:40:22 +02:00
README.md init 2024-04-05 01:40:22 +02:00
composer.json init 2024-04-05 01:40:22 +02:00

README.md

Bluesquare Hooks

This repository contains a collection of git hooks that can be used to enforce code quality and best practices in your Laravel projects.

It automatically installs git hooks.

Installation

Edit your composer.json file to include the following script and repository:

"require-dev": {
    "bluesquare/hooks": "dev-main"
},
"scripts": {
    "post-autoload-dump": [
        "[ $COMPOSER_DEV_MODE -eq 0 ] || @php artisan hooks:install"
    ],
},
"repositories": [
    {
        "type": "vcs",
        "url": "https://git.bluesquare.io/bluesquare/hooks.git"
    }
]

Then run:

composer update bluesquare/hooks --dev