Skip to content

RossJHagan/plates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plates

Build Status Coverage Status Total Downloads Latest Stable Version

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

Highlights

  • 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
  • Template layouts and inheritance
  • Template folders for grouping templates into namespaces
  • Easy to extend using extensions
  • Framework-agnostic, will work with any project
  • Decoupled design makes templates easy to test
  • Composer ready and PSR-2 compliant

Installation

Plates is available via Composer:

{
    "require": {
        "league/plates": "2.*"
    }
}

Documentation

Full documentation can be found at platesphp.com.

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Plates is a native PHP template system that’s fast, easy to use and easy to extend.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors