-
-
Notifications
You must be signed in to change notification settings - Fork 332
Open
Description
I think it would be good if we have an option to add our own middleware to clockwork routes.
For example, maybe in config/clockwork.php:
<?php
return [
// .......other configs
'web' => env('CLOCKWORK_WEB', true),
'web_middleware' => [], // default to empty array
// .......other configs
below, we can add middleware:
<?php
return [
// .......other configs
'web' => env('CLOCKWORK_WEB', true),
'web_middleware' => ['auth:admin', 'is_verified'],
// .......other configs
I hope you consider this request and thank you for this amazing packageš.
Metadata
Metadata
Assignees
Labels
No labels
