Skip to content

dsmithhayes/plates

This branch is 6 commits ahead of, 12 commits behind thephpleague/plates:v3.

Folders and files

NameName
Last commit message
Last commit date
Jan 15, 2023
Dec 18, 2023
Dec 27, 2016
Dec 18, 2023
Dec 18, 2023
Jan 13, 2023
Dec 24, 2020
Dec 24, 2020
Nov 14, 2013
Jan 19, 2023
Jan 9, 2021
Dec 4, 2020

Repository files navigation

Plates

Maintainer Source Code Latest Version Software License Build Status Quality Score Total Downloads

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 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.

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
  • 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

Installation

Plates is available via Composer:

composer require league/plates

Documentation

Full documentation can be found at platesphp.com.

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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

About

Native PHP template system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.7%
  • Hack 0.3%