This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
core/library/Smarty
2015-12-06 20:12:05 +01:00
..
demo update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
lexer update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
libs update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
change_log.txt update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
COMPOSER_RELEASE_NOTES.txt update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
COPYING.lib add smarty engine, remove some obsolete zot1 stuff 2012-07-03 22:23:08 -07:00
INHERITANCE_RELEASE_NOTES.txt update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
NEW_FEATURES.txt update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
README update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
README.md update smarty library - seems to bring some performance improvement 2015-12-06 20:12:05 +01:00
SMARTY_2_BC_NOTES.txt add smarty engine, remove some obsolete zot1 stuff 2012-07-03 22:23:08 -07:00
SMARTY_3.0_BC_NOTES.txt add smarty engine, remove some obsolete zot1 stuff 2012-07-03 22:23:08 -07:00
SMARTY_3.1_NOTES.txt Update Smarty 2014-12-11 20:15:27 +00:00

#Smarty 3 template engine ##Distribution repository

Read the NEW_FEATURES file for recent extensions to Smarty 3.1 functionality

Smarty versions 3.1.11 or later are now on github and can be installed with Composer.

The "smarty/smarty" package will start at libs/.... subfolder.

To get the latest stable version of Smarty 3.1 use

"require": {
   "smarty/smarty": "~3.1"
}

in your composer.json file.

To get the trunk version use

"require": {
   "smarty/smarty": "~3.1@dev"
}

For a specific version use something like

"require": {
           	   "smarty/smarty": "3.1.19"
}

PHPUnit test can be installed by corresponding composer entries like

"require": {
           	   "smarty/smarty-phpunit": "3.1.19"
}

Similar applies for the lexer/parser generator

"require": {
           	   "smarty/smarty-lexer": "3.1.19"
}

Or you could use

"require": {
           	   "smarty/smarty-dev": "3.1.19"
}

Which is a wrapper to install all 3 packages

Composer can also be used for Smarty2 versions 2.6.24 to 2.6.28