Skip to content

Allow Middleware parameters#715

Open
michaelthedev wants to merge 23 commits intoskipperbent:v5-developmentfrom
michaelthedev:master
Open

Allow Middleware parameters#715
michaelthedev wants to merge 23 commits intoskipperbent:v5-developmentfrom
michaelthedev:master

Conversation

@michaelthedev
Copy link
Copy Markdown

Allows usage of comma separated values as middleware parameters

Router::post('/purchase', [CableTvController::class, 'purchase'])
  ->addMiddleware(PinVerified::class.',value_1,value_2');

OR

Router::post('/purchase', [CableTvController::class, 'purchase'])
  ->addMiddleware('App\Middlewares\TestMiddleware,value_1,value_2');

skipperbent and others added 21 commits November 21, 2023 16:15
@michaelthedev michaelthedev changed the base branch from master to development June 26, 2024 09:15
@michaelthedev michaelthedev changed the base branch from development to v5-development June 26, 2024 09:16
@michaelthedev
Copy link
Copy Markdown
Author

Not sure which branch i should choose. But i selected v5-development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants