-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
Description
I found some issues after the version 2 upgrade on Laravel 11:
- Config inject_assets doesn't affect the rendering.
- Config timeout is no longer working and I have to set it for every request
- The option for replacing Laravel default flash is removed, and can't be changed unlike version 1, while the only way to skip this is by using other flash names except (success, error, warning, and info) which means changing a lot of code for existing apps.
- Changing flash_bag in the config doesn't override the default bags but adds new values to the default array.
- When using the Laravel default flash with the bags (success, error, warning, info) the php-flasher fires after reloading the page (after the flash expires).
If version 2 main concept is to replace the default Laravel flash without an option to disable it, I know that downgrading should be the proper solution but unfortunately, this also will not be a good solution because version 1 with Laravel 11 disables the default flash option entirely and also have to rewrite a lot of code to change it to php-flasher and that why I upgraded to version 2 in the first place.
yoeunes