alex-kalanis / kw_templates
Basic template system from KWCMS
Installs: 1 028
Dependents: 4
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=7.3 <=9
- shipmonk/composer-dependency-analyser: ^1.4
README
Simple template system for PHP and Python
PHP Installation
composer.phar require alex-kalanis/kw_templates
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Add some external packages with connection to the local or remote services.
3.) Connect the "kalanis\kw_templates\Template" into your app. Extends it for setting your case.
4.) Extend your libraries by interfaces inside the package.
5.) Just call setting and render
Python Installation
into your "setup.py":
install_requires=[
'kw_templates',
]
Python Usage
1.) Connect the "kw_templates.template" into your app. When it came necessary you can extends every library to comply your use-case; mainly your sending agent.