iMi-digital / laravel-transsid

Encode Session IDs in URLs for Laravel 5-8 Projects (Transparent SID)
GNU General Public License v2.0
14 stars 9 forks source link

Update docs to replace middleware #21

Open amenk opened 4 months ago

amenk commented 4 months ago

Recent Laravel version require something like

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

to replace the middleware

ahmed00227 commented 2 months ago

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 commented 2 months ago

Interesting, what would you suggest?