tonic icon indicating copy to clipboard operation
tonic copied to clipboard

Super fast and powerful PHP template engine

Results 5 tonic issues
Sort by recently updated
recently updated
newest added

Hy! I added localization support to your already great template engine. Hope you like and merge it! Thanks, Kurt

Hi, I have a issue with a syntax tag. Always i try call the variable $supervisor.user_name the code understand the "or" as compare flag. This break the code. {$supervisor.user_name} Change...

The ```handleIfs()``` function replaces "or" in a variable name with ```||```. This makes `$selector` to `$select||` which results in an error because `eval()` fails. This also happens with the conditions....

Hello I like this templating and i have a question,I have markdown files in separate folder and i like compile in the current layout in a var like `{$page.content}` ,...

This works as expected ``` php {if $param == $context.get.param} {$title} {else} {$title} {endif} ``` while this always assumes the if condition is true ``` php {if $param == $context.get.param.default("someDefault")}...