This commit is contained in:
Uwe Tews
2014-10-31 00:42:46 +01:00
commit f433b70cf1
2 changed files with 62 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
#Smarty 2 template engine
##Distribution repository
Starting with Smarty 2.6.23 Composer has been configured to load the packages from github.
**NOTE: Because of this change you must clear your local composer cache with the "composer clearcache" command**
To get the latest stable version use
"require": {
"smarty/smarty": "~2.6"
}
in your composer.json file.
To get the trunk version use
"require": {
"smarty/smarty": "~2.6@dev"
}
The "smarty/smarty" package will start at libs/.... subfolder.

39
composer.json Normal file
View File

@@ -0,0 +1,39 @@
{
"name": "smarty/smarty",
"type": "library",
"description": "Smarty - the compiling PHP template engine",
"keywords": ["templating"],
"homepage": "http://www.smarty.net",
"license": "LGPL-3.0",
"authors": [
{
"name": "Monte Ohrt",
"email": "monte@ohrt.com"
},
{
"name": "Uwe Tews",
"email": "uwe.tews@googlemail.com"
}
],
"support": {
"irc": "irc://irc.freenode.org/smarty",
"issues": "http://code.google.com/p/smarty-php/issues/list",
"forum": "http://www.smarty.net/forums/"
},
"require": {
"php": ">=5.2"
},
"autoload": {
"classmap": [
"libs/Smarty.class.php",
"libs/Smarty_Compiler.class.php",
"libs/Config_File.class.php"
]
},
"extra": {
"branch-alias": {
"dev-master": "2.6.x-dev"
}
}
}