Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to replace middleware #21

Open
amenk opened this issue Jun 18, 2024 · 2 comments
Open

Update docs to replace middleware #21

amenk opened this issue Jun 18, 2024 · 2 comments

Comments

@amenk
Copy link
Member

amenk commented Jun 18, 2024

Recent Laravel version require something like

])->replace([
    \Illuminate\Session\SessionServiceProvider::class => \iMi\LaravelTransSid\SessionServiceProvider::class,

to replace the middleware

@ahmed00227
Copy link

This method is not supported for replacing middleware rather only supported when you arr changing a service provider from default to a custom one

@amenk
Copy link
Member Author

amenk commented Aug 13, 2024

Interesting, what would you suggest?

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

No branches or pull requests

2 participants