Recommend this page to a friend! |
Classes of Dimitri Sitchet | dFramework | system/dependencies/smarty/README.md | Download |
|
DownloadSmarty 3 template engineDocumentationFor documentation see www.smarty.net/docs/en/ RequirementsSmarty can be run with PHP 5.2 to PHP 7.4. Distribution repository> Smarty 3.1.28 introduces run time template inheritance > Read the NEW_FEATURES and INHERITANCE_RELEASE_NOTES 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:
in your composer.json file. To get the trunk version use:
For a specific version use something like:
PHPUnit test can be installed by corresponding composer entries like:
Similar applies for the lexer/parser generator.
Or you could use:
Which is a wrapper to install all 3 packages. Composer can also be used for Smarty2 versions 2.6.24 to 2.6.30. |