Download the PHP package mvccore/ext-router-media-localization without Composer
On this page you can find all versions of the php package mvccore/ext-router-media-localization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mvccore/ext-router-media-localization
More information about mvccore/ext-router-media-localization
Files in mvccore/ext-router-media-localization
Package ext-router-media-localization
Short Description MvcCore - Extension - Router - Media & Localization - extension to manage website media versions (full/tablet/mobile) for different templates/CSS/JS files rendering and to manage website localizations (language or language and locale), optionaly contained in url address in the beinning.
License BSD-3-Clause
Informations about the package ext-router-media-localization
MvcCore - Extension - Router - Media & Localization
MvcCore Router extension to manage website media version (full/tablet/mobile) for different templates/css/js files rendering and to manage your website language (or language and locale) version optionaly contained in url address in the beinning.
This extension is mix of 2 extended router extensions:
This extension does the same things as extensions above together.
Installation
Features
Extension has the same features as extensions bellow together:
In URL addresses is always contained media site prefix first (before localization prefix) like this - example:
- Full address for (default) locale
en-US
: `/en-US/any/path/with?query=string - Mobile address for different locale
en-US
: `/m/de-DE/ein/route/mit?abfragezeichen=folge
How It Works
Extension works in the same way as extensions named above, each task is executed
like for media extension first, then like for localization extension as second:
Only routing is implemented explicitly (it means method Route()
in this router) and processing redirections and completing url addresses is implemented explicitly - to complete the proper URL string together with both query string values or with both prefixes.
Usage
Usage - Bootstrap
Initialization
Add this to /App/Bootstrap.php
or to very application beginning,
before application routing or any other extension configuration
using router for any purposes:
All other specific usage and advanced configuration is the same as extensions bellow together:
All versions of ext-router-media-localization with dependencies
mvccore/mvccore Version ^5.3
mvccore/ext-router-extended Version ^5.3
mvccore/ext-router-media Version ^5.3
mvccore/ext-router-localization Version ^5.3.1