Skip to content

Releases: codemonster-ru/razor

Release v1.1.0

14 Oct 14:57

Choose a tag to compare

Added

  • Implemented SupportsInspectionInterface to allow engine introspection.
  • Added getLocator() and getExtensions() methods to PhpEngine.
  • Improved compatibility with the Annabel framework — View can now automatically detect and select engines by template file extension (e.g. .razor.php, .php).

Release v1.0.0

09 Oct 15:52

Choose a tag to compare

Added

  • First stable version of the Razor templating engine.
  • Compatibility with the codemonster-ru/view package.
  • Directive support:
  • {{ $variable }} — safe variable output.
  • @if / @endif — conditional blocks.
  • @foreach / @endforeach — loops.
  • @include — inserting other templates.
  • Caching of compiled templates.
  • PHPUnit tests.
  • Full README and documentation.