Releases: laravelista/loki
Releases · laravelista/loki
Fix for middleware in Laravel > 5.6
Laravel 6 support
3.2.0 Laravel 6 support.
PHP 7.3 Support
Thanks to @lucasRolff for:
Fixed bug when route is not found
More info: #7
Fixed getLocalized methods
The methods getLocalizedRoute
and getLocalizedUrl
were not including the config option for hiding the default locale when the route name or path was provided.
Support for non localized routes - major changes
In this release fixed: #1
Changes:
- Class names are now more meaningful (ServiceProvider, Middleware, Loki, UrlGenerator)
- removed
__route
and__url
helper methods (No more Miek) - non localized routes are located in
routes/web.php
- localized routes are located in
routes/loki.web.php
- translated routes are located in the same files
routes/{locale}.web.php
- routes file
loki.web.php
can now be published (see readme) - added helpers for retrieving current URL in different locale and specific URL (route) in different locale (see helpers chapter in the readme)
Fixed redirect()->route()
2.0.1 Fixed redirect()->route() to work.
Managed to overwrite route and url helper methods
2.0.0 Managed to overwrite route and url helpers.
First version
Here goes something.