Native PHP template system
Engine->make()
by @Rayne in https://github.com/thephpleague/plates/pull/302
Full Changelog: https://github.com/thephpleague/plates/compare/v3.4.0...v3.5.0
EDIT (12/24/2020): This release has been abandoned. Some of this work will be merged into the v3 branch, but most of it has been scrapped. This tag will still be available, but a version 4 will not be based off of this alpha release.
v4 has been a complete rewrite in the plates system. It's fairly backwards compatible, but a lot of the internals have changed, and we still have a decent amount of features and work to do for v4.
Documentation is lacking for many of these features. Contributions are welcome! The best way to learn about the features it to look at the tests and examples.
push()
function.end()
function as an alias to stop()
.$template->data()
.toString()
magic method.composer test
.Template
class.Engine
class be passed to the register()
method.