Go to file
Maxime a5995b58b8 fix README 2024-04-05 01:54:22 +02:00
src fixes 2024-04-05 01:52:08 +02:00
stubs fixes 2024-04-05 01:52:08 +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 fix README 2024-04-05 01:54: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 dependency, script and repository:

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

Then run:

composer update bluesquare/hooks --dev