PlatesPHP

Use PlatesPHP as template engine

Introduction

KoolReport supports other template engines rather than just its own template view file and PlatesPhp is one of them.

Plates is a native PHP template system that’s fast, easy to use and easy to extend. It’s inspired by the excel* lent Twig template engine and strives to bring modern template language functionality to native PHP templates. Plates is designed for developers who prefer to use native PHP templates over compiled template languages, such as Twig or Smarty.

Highlight

  • Native PHP templates, no new syntax to learn
  • Plates is a template system, not a template language
  • Plates encourages the use of existing PHP functions
  • Increase code reuse with template layouts and inheritance
  • Template folders for grouping templates into namespaces
  • Data sharing across templates
  • Preassign data to specific templates
  • Built-in escaping helpers
  • Easy to extend using functions and extensions
  • Framework-agnostic, will work with any project
  • Decoupled design makes templates easy to test
  • Composer ready and PSR-2 compliant
  • You may read more information about Plates PHP in here.

Documentation

The details of how to install and how to use PlatesPHP package can be found at our documentation.

Licenses

The package is released under MIT License which is free and can be use in any of your purpose. It is also pre installed inside KoolReport Pro package.

User Reviews
(0)