Package Data | |
---|---|
Maintainer Username: | imi |
Maintainer Contact: | a.menk@imi.de (iMi digital GmbH - Alexander Menk) |
Package Create Date: | 2015-06-16 |
Package Last Update: | 2024-07-03 |
Home Page: | |
Language: | PHP |
License: | GPL-2.0-or-later |
Last Refreshed: | 2024-11-19 03:06:22 |
Package Statistics | |
---|---|
Total Downloads: | 2,742 |
Monthly Downloads: | 4 |
Daily Downloads: | 1 |
Total Stars: | 15 |
Total Watchers: | 6 |
Total Forks: | 9 |
Total Open Issues: | 2 |
This module adds support for keeping session IDs (as normally stored in session cookies) to all URLs.
This is especially useful if your application runs in Iframe as some browser block cookies in those.
PHP already provides the session.use_trans_sid
configuration value for this, but as Laravel 5 is implementing sessions in its on way, our module is necessary.
imi/laravel-transsid
via composer.config/app.php
at providers
replace
'Illuminate\Session\SessionServiceProvider'
with 'iMi\LaravelTransSid\SessionServiceProvider'
'iMi\LaravelTransSid\UrlServiceProvider'
at the end of the providers arrayURLs generated with Laravel's URL function (for example URL::to()
) will now have a session ID appended. If you would like to generate URLs without a session ID, add a NO_ADD_SID
parameter:
{{ URL::to('/', ['NO_ADD_SID' => true]) }}
iMi digital GmbH offers Laravel related open source modules. If you are confronted with any bugs, you may want to open an issue here.
In need of support or an implementation of a modul in an existing system, free to contact us. In this case, we will provide full service support for a fee.
Of course we provide development of closed-source modules as well.