Download the PHP package mvccore/ext-router-module-media without Composer
On this page you can find all versions of the php package mvccore/ext-router-module-media. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mvccore/ext-router-module-media
More information about mvccore/ext-router-module-media
Files in mvccore/ext-router-module-media
Package ext-router-module-media
Short Description MvcCore - Extension - Router - Modules With Media - extension to manage multiple websites in a single project and to manage website media versions (full/tablet/mobile) for different templates/CSS/JS files rendering, optionally contained in a domain or in URL address in the beginning.
License BSD-3-Clause
Informations about the package ext-router-module-media
MvcCore - Extension - Router - Modules With Media
MvcCore Router extension to manage multiple websites in single project and to manage website media versions (full
/tablet
/mobile
for different templates/css/js files rendering, optionaly contained in URL address domain part or in URL address beinning), defined by domain routes, targeted by module property in URL completing.
This router is the way, how to route your requests in domain level with website media versions with params or variable sections, namespaces, default param values and more.
Outline
- Installation
- Features
- How It Works
- Usage
1. Installation
go to top
2. Features
Extension has the same features as extensions bellow together:
Website media version could be contained in any module domain route as param named <media_version>
match URL requests like this:
http://www.example.com/anything
http://mobile.example.com/anything
If there is not contained param <media_version>
in matched module domain route pattern, website media version param has to be contained (or is automaticly inserted) in URL address beginning like this:
http://www.example.com/anything
http://www.example.com/mobile/anything
How precisely is conained in URL address depends on advanced router configuration like allowed media version and more...
go to top
3. How It Works
Extension works in the same way as extensions bellow together:
Router is composed from traits in extensions named above.
go to top
4. 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:
- More usage and configuration for
mvccore/ext-router-module
- More usage and configuration for
mvccore/ext-router-media
go to top
All versions of ext-router-module-media with dependencies
mvccore/mvccore Version ^5.2
mvccore/ext-router-extended Version ^5.2
mvccore/ext-router-media Version ^5.2
mvccore/ext-router-module Version ^5.2