|
|
||
|---|---|---|
| .. | ||
| demo | ||
| libs | ||
| COPYING.lib | ||
| INHERITANCE_RELEASE_NOTES.txt | ||
| README | ||
| README.md | ||
| SMARTY_2_BC_NOTES.txt | ||
| SMARTY_3.0_BC_NOTES.txt | ||
| SMARTY_3.1_NOTES.txt | ||
| change_log.txt | ||
| composer.json | ||
| index.html | ||
README.md
#Smarty 3 template engine ##Distribution repository Starting with Smarty 3.1.21 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": "~3.1"
}
in your composer.json file.
To get the trunk version use
"require": {
"smarty/smarty": "~3.1@dev"
}
The "smarty/smarty" package will start at libs/.... subfolder.
To retrieve the development and documentation folders add
"require-dev": {
"smarty/smarty-dev": "~3.1@dev"
}