fix README

This commit is contained in:
Maxime 2024-04-05 01:54:22 +02:00
parent 17336c0470
commit a5995b58b8
1 changed files with 5 additions and 5 deletions

View File

@ -6,21 +6,21 @@ It automatically installs git hooks.
## Installation
Edit your `composer.json` file to include the following script and repository:
Edit your `composer.json` file to include the following dependency, script and repository:
```
"require-dev": {
"bluesquare/hooks": "dev-main"
"require": {
"bluesquare/laravel-hooks": "dev-main"
},
"scripts": {
"post-autoload-dump": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || @php artisan hooks:install"
"@php artisan hooks:install --ansi"
],
},
"repositories": [
{
"type": "vcs",
"url": "https://git.bluesquare.io/bluesquare/hooks.git"
"url": "https://git.bluesquare.io/bluesquare/laravel-hooks.git"
}
]
```