From f433b70cf14c3bc1bedf1f1c04f93aa4fc70c104 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Fri, 31 Oct 2014 00:42:46 +0100 Subject: [PATCH] Init --- README.md | 23 +++++++++++++++++++++++ composer.json | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 README.md create mode 100644 composer.json diff --git a/README.md b/README.md new file mode 100644 index 00000000..a41024af --- /dev/null +++ b/README.md @@ -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. + + diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..106bb281 --- /dev/null +++ b/composer.json @@ -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" + } + } + +}