FFNMaster
bbd8823901
The layout system now uses so called TemplateEngines. A Template Engine is an engine that implements \FuzeWorks\TemplateEngine, and is a standardized way of parsing template files. 3 template engines are present by default: PHP Parser, JSON parser and the Smarty Template engine. Based on the file extension the manager should be able to decide which engine to use. New engines can be added by using $this->layout->registerEngine();. This function should be called on the layoutLoadEngineEvent. Also Smarty has been removed from the system and is now a composer dependency.
14 lines
243 B
JSON
14 lines
243 B
JSON
{
|
|
"require": {
|
|
"php": ">=5.3.0",
|
|
"ext-curl": "*",
|
|
"ext-json": "*",
|
|
"phpmailer/phpmailer": "~5.2",
|
|
"smarty/smarty": "~3.1"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "4.7.*",
|
|
"apigen/apigen": "^4.1"
|
|
}
|
|
}
|