Latte is the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites. This is a collection of examples demonstrating how to use Latte.
Follow these steps to set up the example:
- Clone this repository:
git clone https://github.com/nette-examples/latte
- Navigate to the project directory:
cd latte
- Install the required dependencies:
composer install
Execute the demo using the following command:
php 01-basic/example.php
and so on, one example in each directory.
Ensure you have PHP version 8.0 or above installed to run the demo.