2017 © Pedro Peláez
 

kohana-module kohana-devtools

Kohana developer tools

image

seyfer/kohana-devtools

Kohana developer tools

  • Thursday, January 15, 2015
  • by seyfer
  • Repository
  • 3 Watchers
  • 3 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 11 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Kohana Devtools Module

Features

  • 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

Preview Screenshot

Preview!, (*1)

Compatibility

  • Kohana 3.3.x

Installation

  1. Checkout/download files and folders to MODPATH/devtools.
  2. Add this entry under Kohana::modules array in your APPPATH/bootstrap.php:
'devtools'     => MODPATH.'devtools',      // Devtools

Conditional Loading

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:, (*2)

/**
 * 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);

Configuration

This module requires no configuration., (*3)

Usage

Simply browse to /devtools on your app., (*4)

Notes

This module will throw an exception if enabled in an environment different than DEVELOPMENT., (*5)

Acknowledgements

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., (*6)

The Versions

15/01 2015

dev-3.2/master

dev-3.2/master

Kohana developer tools

  Sources   Download

The Requires

 

15/01 2015

dev-master

9999999-dev

Kohana developer tools

  Sources   Download

The Requires

 

15/01 2015

dev-3.3/master

dev-3.3/master

Kohana developer tools

  Sources   Download

The Requires