- Easy access to Kohana environment details (normally only provided by
install.php
- Provides Transparent Extension information (which Kohana native classes your app/modules ovewrite) extend.
- Includes very useful Route tester
- Easy and readable access to all your app's routes, configs, messages and i18n's
- Kohana 3.3.x
- Checkout/download files and folders to
MODPATH/devtools
. - Add this entry under
Kohana::modules
array in yourAPPPATH/bootstrap.php
:
'devtools' => MODPATH.'devtools', // Devtools
If you don't want to worry about disabling the module for non-DEVELOPMENT
environments you can load on condition in your bootstrap.php
, .e.g:
/**
* Enable modules. Modules are referenced by a relative or absolute path.
*/
$modules = array(
// 'auth' => MODPATH.'auth', // Basic authentication
// 'cache' => MODPATH.'cache', // Caching with multiple backends
// 'codebench' => MODPATH.'codebench', // Benchmarking tool
// 'database' => MODPATH.'database', // Database access
// 'image' => MODPATH.'image', // Image manipulation
// 'minion' => MODPATH.'minion', // CLI Tasks
// 'orm' => MODPATH.'orm', // Object Relationship Mapping
// 'unittest' => MODPATH.'unittest', // Unit testing
// 'userguide' => MODPATH.'userguide', // User guide and API documentation
);
// Load Devtools module only if in DEVELOPMENT environment
if (Kohana::$environment === Kohana::DEVELOPMENT)
{
$modules['devtools'] = MODPATH.'devtools';
}
Kohana::modules($modules);
This module requires no configuration.
Simply browse to /devtools
on your app.
This module will throw an exception if enabled in an environment different than DEVELOPMENT
.
This module was originally created by Michael Peters aka bluehawk. I merely provided few tweaks and updates to make it work with latest Kohana versions.