Download the PHP package per-seo/locale without Composer
On this page you can find all versions of the php package per-seo/locale. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download per-seo/locale
More information about per-seo/locale
Files in per-seo/locale
Download per-seo/locale
More information about per-seo/locale
Files in per-seo/locale
Vendor per-seo
Package locale
Short Description Language in URI for Slim 4. This Middleware add an attribute 'locale' to the request object, to help with page translation for SEO.
License MIT
Homepage https://github.com/per-seo/locale
Package locale
Short Description Language in URI for Slim 4. This Middleware add an attribute 'locale' to the request object, to help with page translation for SEO.
License MIT
Homepage https://github.com/per-seo/locale
Please rate this library. Is it a good library?
Informations about the package locale
A simple middleware for Slim4 framework for using locale in uri. Usage is very simple, just add in your container settings this array:
And enable this Middleware (in the Middleware part of your Slim4 Project) with:
After this, all your Slim 4 routes works without the language prefix in routes (because this Middleware check the language before routes are called). To retrive what language the project is using, just call:
Simple, isn't it?
All versions of locale with dependencies
PHP Build Version
Package Version
The package per-seo/locale contains the following files
Loading the files please wait ....