An open API service indexing awesome lists of open source software.

https://github.com/nette-examples/latte

Latte Examples
https://github.com/nette-examples/latte

Last synced: about 2 months ago
JSON representation

Latte Examples

Awesome Lists containing this project

README

          

Latte Examples
==============

[Latte](https://latte.nette.org) 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.

Installing
----------

Follow these steps to set up the example:

1. Clone this repository:
```shell
git clone https://github.com/nette-examples/latte
```

2. Navigate to the project directory:
```shell
cd latte
```

3. Install the required dependencies:
```shell
composer install
```

Running the Demo
----------------

Execute the demo using the following command:

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