Releases: EFTEC/BladeOne
Releases · EFTEC/BladeOne
4.13
4.12
4.11
changelog
Mainly, now it is possible to create custom controls (custom tags) without much complexity using the new runtime control.
Also, it is possible to add new methods without extending the class.
Example:
$blade->addMethod('runtime','card',static function($args) { // @card($item)
$result='';
$result.=BladeOne::$instance->runChild('card,['value'=>$args[0]]); // card is a view.
return $result;
});
4.10
4.9
4.8.2
4.8
4.7.1
4.7
4.7
- [optimization] A small optimization. The library does not check if the template folder is a directory or not, every time the file is compiled. No user intervention is required. It also doesn't create the compiles folder automatically, you can create it manually or using the cli.
- [cli] cli (command line interface) now is installed in the bin folder of vendor. (vendor/bin)
- [cli] cli now allows to the creation of the folders compilation and template (view).