https://github.com/nette-examples/latte
Latte Examples
https://github.com/nette-examples/latte
Last synced: about 2 months ago
JSON representation
Latte Examples
- Host: GitHub
- URL: https://github.com/nette-examples/latte
- Owner: nette-examples
- Created: 2022-07-12T11:27:42.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-04T20:31:13.000Z (over 2 years ago)
- Last Synced: 2026-01-03T10:29:22.557Z (5 months ago)
- Language: Latte
- Size: 2.93 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.