dev-develop
dev-develop https://indigophp.comExtension to Fuel Module class
MIT
The Requires
by MĂĄrk SĂĄgi-KazĂĄr
extension module fuel
Extension to Fuel Module class
This package is an extension to Fuel Module class., (*2)
Via Composer, (*3)
json
{
"require": {
"indigophp/fuel-module": "@stable"
}
}
, (*4)
Note: This package cannot be used with indigophp/fuel-core <1.0.3
., (*5)
Load this package before any other package that uses one of the following: Module
, Request
, Router
, (*6)
Make sure that your extensions of these classes does not override them., (*7)
See examples for custom modules., (*8)
Note: The modules are processed alphabetically (in the order they are loaded). The first controller found will be routed., (*9)
Depending on the examples, here are some scenarios:, (*10)
moda
will route to Moda\Controller_Modb
in module moda
moda/modb
will route to Moda\Modb\Controller_Modb
in module moda_modb
moda/modb/modc
will route to Moda\Modb\Controller_Modc
in module moda_modb
If moda
contains a Controller_Modb
(according to load order):, (*11)
moda
will route to Moda\Controller_Modb
in module moda
moda/modb
will route to Moda\Controller_Modb
in module moda
moda/modb/modc
will route to Moda\Controller_Modb
(action modc
) in module moda
Fallbacks are processed in a reverse order:, (*12)
moda/modb/fake
will route to Moda\Modb\Controller_Modb
(action fake
) in module modb
You can extend 'Indigo\Fuel\Module' class to use your own namespace, URL prefix and default controller name. See get_namespace
, get_prefix
and get_controller
functions., (*13)
Please see CONTRIBUTING for details., (*14)
The MIT License (MIT). Please see License File for more information., (*15)
Extension to Fuel Module class
MIT
extension module fuel