2014-10-31 01:28:26 +01:00
|
|
|
#Smarty 3 template engine
|
2014-10-31 00:42:46 +01:00
|
|
|
##Distribution repository
|
2014-11-12 19:07:00 +01:00
|
|
|
|
|
|
|
*Read the NEW_FEATURES file for recent extensions to Smarty 3.1 functionality*
|
|
|
|
|
|
|
|
Smarty packages are now on github and can be installed with Composer.
|
2015-05-04 18:09:21 +02:00
|
|
|
|
|
|
|
**NOTE: Because of this change you must clear your local composer cache with the "composer clearcache" command**
|
2014-10-31 00:42:46 +01:00
|
|
|
|
2014-11-12 19:07:00 +01:00
|
|
|
The "smarty/smarty" package will start at libs/.... subfolder.
|
|
|
|
|
|
|
|
To get the latest stable version of Smarty 3.1 use
|
2014-10-31 00:42:46 +01:00
|
|
|
|
|
|
|
"require": {
|
2014-10-31 01:28:26 +01:00
|
|
|
"smarty/smarty": "~3.1"
|
2014-10-31 00:42:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
in your composer.json file.
|
|
|
|
|
|
|
|
To get the trunk version use
|
|
|
|
|
|
|
|
"require": {
|
2014-10-31 01:28:26 +01:00
|
|
|
"smarty/smarty": "~3.1@dev"
|
2014-10-31 00:42:46 +01:00
|
|
|
}
|
|
|
|
|
2014-11-12 19:07:00 +01:00
|
|
|
All stable releases since 3.1.11 are available
|
|
|
|
For a specific version use something like
|
2014-10-31 01:28:26 +01:00
|
|
|
|
2014-11-12 19:07:00 +01:00
|
|
|
"require": {
|
|
|
|
"smarty/smarty": "3.1.19"
|
|
|
|
}
|
2014-10-31 00:42:46 +01:00
|
|
|
|
2014-11-12 19:07:00 +01:00
|
|
|
Composer can also be used for Smarty2 versions 2.6.24 to 2.6.28
|