Add Composer support
This will allow installing Kostache with Composer. The Mustache.php dependency can be autoloaded - just ensure you are including the Composer autoloader file in your project.master
parent
189a3c0ade
commit
9b459a54ad
@ -1 +0,0 @@
|
||||
*.swp
|
@ -1,3 +0,0 @@
|
||||
[submodule "vendor/mustache"]
|
||||
path = vendor/mustache
|
||||
url = git://github.com/bobthecow/mustache.php.git
|
@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "zombor/kostache",
|
||||
"description": "Logic-less View/Mustache Module for the Kohana Framework",
|
||||
"keywords": ["kohana", "mustache", "templating", "view"],
|
||||
"homepage": "https://github.com/zombor/KOstache",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jeremy Bush",
|
||||
"email": "jeremy.bush@kohanaframework.org"
|
||||
},
|
||||
{
|
||||
"name": "Woody Gilk",
|
||||
"email": "woody.gilk@kohanaframework.org"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/zombor/KOstache/issues",
|
||||
"source": "https://github.com/zombor/KOstache"
|
||||
},
|
||||
"require": {
|
||||
"mustache/mustache": "~2.6.0",
|
||||
"php": ">=5.3.0"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?php defined('SYSPATH') or die('No direct script access.');
|
||||
|
||||
// Load Mustache for PHP
|
||||
include Kohana::find_file('vendor', 'mustache/src/Mustache/Autoloader');
|
||||
Mustache_Autoloader::register();
|
@ -1 +0,0 @@
|
||||
Subproject commit d99be3444e5b2f0fb605941d7e692d3b5159360c
|
Loading…
Reference in New Issue