Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Releases: slimphp/Slim-Views

Release 0.1.3

09 Dec 23:55
Compare
Choose a tag to compare

Changelog

  • Added currentUrl to Twig Extension and SmartyPlugins.
  • Moved codebase over to PSR4.

Release 0.1.2

03 Apr 16:41
Compare
Choose a tag to compare

Changelog

  • Added in new array syntax for smarty urlFor extension
  • Fixed Twig view render method not using the data argument correctly.

Release 0.1.1

08 Dec 10:21
Compare
Choose a tag to compare

Changelog

  • Added in additional parameter to render method to allow local data to be passed into a template during rendering.

Release 0.1.0

14 Jul 22:02
Compare
Choose a tag to compare

Release Notes

This is the first release of the newly created Slim Views which takes the only two officially supported Views from the Slim-Extras repository.

Below we will outline what has changed between this and the Slim-Extras Twig and Smarty view classes.

Changelog

  • Methods and properties are no longer static (breaking change)
  • Method and property names are more consistent
    • getInstance()
    • parserExtensions
    • parserDirectory
  • Checking if Smarty class is available before including it
  • View helper extensions