mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
13 lines
No EOL
500 B
Markdown
13 lines
No EOL
500 B
Markdown
---
|
|
title: 'You can pass parameters to Laravel middleware classes'
|
|
tweet_id: '1466810184773160962'
|
|
thread_slug: weekly-thread-2021-48
|
|
author_username: marcelpociot
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FFXH9CSXwAEiMm0.jpg'
|
|
created_at: 2021-12-03T16:42:54+00:00
|
|
slug: you-can-pass-parameters-to-laravel-middleware-classes
|
|
---
|
|
🔥 Remember that you can pass parameters to your custom @laravelphp middleware classes
|
|
|
|
This simple middleware allows me to inject onboarding screens in an Inertia app. |