Go to file
Maxime 5a447af956 fixes 2024-04-05 01:56:25 +02:00
src fixes 2024-04-05 01:52:08 +02:00
stubs fixes 2024-04-05 01:56:25 +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