bTemplate is a PHP class that facilitates the separation of PHP code and various markup languages (HTML, XML, etc.). It provides simple variable interpolation, loops, complex (nested) loops, simple conditionals, and case loops. By default, it uses XML compatible syntax, but the opening and closing tags can be customized.
| Tags | Software Development Libraries php classes |
|---|---|
| Licenses | MIT/X |
| Implementation | PHP |
Recent releases


Release Notes: This is the final release of bTemplate. else syntax has been added to the conditional parsing. There is no need to update if you don't need this functionality.


Release Notes: This version introduces a new case loop syntax, an optional second argument to the constructor (whether to reset template variables after a fetch() call), and a reset_vars() method that allows you to manually reset template variables. The documentation has been updated to include all features, and the bTemplate Web site has benchmarks that compare bTemplate to various other template systems.


No changes have been submitted for this release.