Skip to content

Commit 00da0cf

Browse files
committed
Merge branch 'dev'
2 parents 6218c78 + 5573033 commit 00da0cf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Laravel Hook System
2+
23
[![Latest Version on Packagist](https://img.shields.io/packagist/v/quix-labs/laravel-hook-system.svg?style=flat-square)](https://packagist.org/packages/quix-labs/laravel-hook-system)
34
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/quix-labs/laravel-hook-system/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/quix-labs/laravel-hook-system/actions?query=workflow%3Arun-tests+branch%3Amain)
45
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/quix-labs/laravel-hook-system/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/quix-labs/laravel-hook-system/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
@@ -10,6 +11,7 @@ This system allows intercepting and manipulating specific actions in your applic
1011
___
1112

1213
## Requirements
14+
1315
* PHP >= 8.1
1416
* Laravel 10.x|11.x
1517

@@ -127,6 +129,14 @@ The package adds three Artisan commands to manage the hooks:
127129
* `hooks:cache` : Caches the hooks and interceptors.
128130
* `hooks:clear` : Clears the hooks and interceptors cache.
129131

132+
## Planned Features
133+
134+
The following features are planned for future implementation:
135+
136+
- Instantiate interceptor class using `app()` (add support for dependency container injection).
137+
- Fully cacheable hooks (pre-executed during the cache process):
138+
- Allow hooks to be executed during the cache process (with a default value).
139+
- Allow interceptors to prevent cache execution (for example, if they depend on the context request).
130140

131141
## Changelog
132142

0 commit comments

Comments
 (0)