Go to file
Maxime 1d40073142 Update README.md 2024-04-05 10:07:40 +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 Update README.md 2024-04-05 10:07:40 +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