You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-17Lines changed: 50 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,16 @@
3
3
<palign="center">A powerful and easy-to-use package for managing Git hooks within your Laravel projects. Improve your code quality, reduce the time spent on code reviews, and catch potential bugs before they make it into your repository.</p>
@@ -32,13 +32,16 @@ This is a fork of <a href="https://github.com/igorsgm/laravel-git-hooks">igorsgm
32
32
-**Create Custom Hooks:** Add and integrate custom hooks tailored to your specific project needs, ensuring better code quality and adherence to guidelines.
33
33
-**Artisan Command for Hook Generation:** The package includes a convenient Artisan command that allows you to effortlessly generate new hooks of various types. Such as: `pre-commit`, `prepare-commit-msg`, `commit-msg`, `post-commit`, `pre-push`
34
34
-**Code Quality:** The package is thoroughly tested, with >95% of code coverage, ensuring its reliability and stability in a wide range of Laravel projects.
35
-
-**Docker support:** Each hook can be configured to either run locally or inside a docker container.
35
+
-**Docker support:** Each hook can be configured to either run locally or inside a Docker container, with full Laravel Sail integration.
36
+
-**Auto-fix Capabilities:** Automatically fix code issues without manual intervention, with configurable re-run after fixes.
36
37
37
38
## 1️⃣ Installation
38
39
40
+
**Laravel Version Support:** This package supports Laravel 11 and Laravel 12. Laravel 10 support has been deprecated.
41
+
39
42
- You can install the package via composer:
40
43
```bash
41
-
composer require indy2kro/laravel-git-hooks --dev
44
+
composer require igorsgm/laravel-git-hooks --dev
42
45
```
43
46
44
47
- Publish the config file and customize it in the way you want:
@@ -62,7 +65,7 @@ To use the already created pre-commit hooks of this package, you can simply edit
1) If you need to create a custom Git hook for your project, Laravel Git Hooks makes it easy with the `git-hooks:make` Artisan command. To create a new custom hook, simply run the following command:
170
202
```bash
@@ -371,19 +403,20 @@ composer test
371
403
372
404
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
373
405
406
+
407
+
# Original authors:
408
+
409
+
- [Igor Moraes](https://github.com/igorsgm)
410
+
- [Pavel Buchnev](https://github.com/butschster)
411
+
374
412
## Contributing
375
413
376
414
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
377
415
378
-
## Credits
416
+
### Credits
379
417
380
418
- [Cristian Radu](https://github.com/indy2kro)
381
419
382
-
Original authors:
383
-
384
-
- [Igor Moraes](https://github.com/igorsgm)
385
-
- [Pavel Buchnev](https://github.com/butschster)
386
-
387
420
## License
388
421
389
422
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
0 commit comments