imponeer / smarty-extensions-contracts
Interfaces for defining smarty template engine extensions in object way
Installs: 21 495
Dependents: 8
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: >=7.3
- smarty/smarty: ^4.3
README
Smarty Extensions Contracts
Smarty 3 still doesn't use classes for define most of the possible extensions types. This library tries to fix that - it provides all needed interfaces to define extensions in object way.
Defining smarty extensions in object way also can be useful when working with containers. Smarty extensions that could be registered with tags and then loaded when needed.
Installation
To install and use this package, we recommend to use Composer:
composer require imponeer/smarty-extensions-contracts
Otherwise, you need to include manually files from src/
directory.
Mapping
How to contribute?
If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try interactive GitHub tutorial.
If you found any bug or have some questions, use issues tab and write there your questions.