Skip to content

Kohana Module which allows you to use multiple file formats for config/i18n

Notifications You must be signed in to change notification settings

averyaube/kohana_multiformat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Kohana Multiformat Config/I18n Thing

Allows you to use files other than PHP arrays for Kohana 3.x config and i18n!

Currently supports the following:
    * Standard PHP Arrays
    * JSON
    * INI
    * YAML (through spyc - http://code.google.com/p/spyc/ - in vendors folder)
    
How to use it:

    *Copy files to modules/multiformat
    *Enable the module

    For Config
        Add this to the bootstrap.php:
    
        Kohana::$config->attach(new Multiformat_Config_File);
    
        Make sure to use that line *under* the module definition (and replace the Kohana_Config_File attachment I guess?)
    
    For i18n
        Should just work!
    
Neat!

About

Kohana Module which allows you to use multiple file formats for config/i18n

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages