Download the PHP package leonickl/plate without Composer
On this page you can find all versions of the php package leonickl/plate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package plate
Plate
A lightweight PHP templating engine inspired by Laravel's Blade.
Features
- Simple, expressive syntax with
{{ }}delimiters - Automatic output escaping for security
- Conditional rendering with
if,elif, andelse - Loop support with
each - Raw PHP execution within templates
- Compiles to plain PHP for optimal performance
Requirements
- PHP >= 8.4
Installation
Usage
Template Syntax
Printing Values
Execute PHP statement
Conditionals
Loops
Import Components
In order for this to work, you need to define this function and adjust it to your environment:
Example
See example.plate for a complete example. Run it with:
This compiles the template and executes the resulting PHP.
Syntax Highlighting
Available for VSCode leonickl/plate-vscode
All versions of plate with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
The package leonickl/plate contains the following files
Loading the files please wait ...