latte / latte
☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites. Introduces context-sensitive escaping.
Installs: 11 941 249
Dependents: 743
Suggesters: 31
Security: 2
Stars: 1 165
Watchers: 60
Forks: 110
Open Issues: 20
Requires
- php: 8.0 - 8.4
- ext-json: *
- ext-tokenizer: *
Requires (Dev)
- nette/php-generator: ^4.0
- nette/tester: ^2.5
- nette/utils: ^4.0
- phpstan/phpstan: ^1
- tracy/tracy: ^2.10
Suggests
- ext-fileinfo: to use filter |datastream
- ext-iconv: to use filters |reverse, |substring
- ext-intl: to use Latte\Engine::setLocale()
- ext-mbstring: to use filters like lower, upper, capitalize, ...
- nette/php-generator: to use tag {templatePrint}
- nette/utils: to use filter |webalize
Conflicts
- nette/application: <3.1.7
- nette/caching: <3.1.4
- dev-master / 3.0.x-dev
- v3.0.20
- v3.0.18
- v3.0.17
- v3.0.16
- v3.0.14
- v3.0.13
- v3.0.12
- v3.0.10
- v3.0.9
- v3.0.8
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.11.x-dev
- v2.11.7
- v2.11.6
- v2.11.5
- v2.11.4
- v2.11.3
- v2.11.2
- v2.11.1
- v2.11.0
- v2.10.x-dev
- v2.10.10
- v2.10.9
- v2.10.8
- v2.10.7
- v2.10.6
- v2.10.5
- v2.10.4
- v2.10.3
- v2.10.2
- v2.10.1
- v2.9.x-dev
- v2.9.6
- v2.9.5
- v2.9.4
- v2.9.3
- v2.9.2
- v2.9.1
- v2.9.0
- v2.8.x-dev
- v2.8.8
- v2.8.7
- v2.8.6
- v2.8.5
- v2.8.4
- v2.8.3
- v2.8.2
- v2.8.1
- v2.8.0
- v2.7.x-dev
- v2.7.4
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7.0
- v2.6.x-dev
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.x-dev
- v2.5.7
- v2.5.6
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.x-dev
- v2.4.9
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.x-dev
- v2.3.13
- v2.3.12
- v2.3.11
- v2.3.10
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.x-dev
- v2.2.9
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- dev-next
- dev-fiber
- dev-analysis
- dev-caching-iterator-check-validity
This package is auto-updated.
Last update: 2025-02-16 05:04:42 UTC
README
✅ The only truly secure templating system for PHP
✅ You already know the syntax
✅ Highly mature, fast, and widely used library
Latte is the safest templating system for PHP. It is cleverly designed and easy to learn for those familiar with PHP, as they can quickly adopt its basic tags. A wide range of useful features will significantly simplify your work. It provides top-notch protection against critical vulnerabilities and allows you to focus on creating high-quality applications without worrying about their security.
🟨 Only 1% of programmers can pass this quiz!
Getting started
1️⃣ First, familiarize yourself with Latte syntax and try it online
2️⃣ Take a look at the basic set of tags and filters
3️⃣ Render a template with a few lines of PHP code
Do you like Latte? Are you looking forward to the new features?
Thank you!