Five New Features in Latte 3.1 That Will Make Your Life Easier
New filters |column, |commas, and |limit, improved |slice for iterators, no more variable leaking from foreach, and automatic indentation removal. No revolution, but little things you'll appreciate every day.
Nette Tester: HTTP testing has never been so easy
The new HttpAssert class in Nette Tester 2.5.6 lets you automatically verify status codes, headers, redirects, and response content. No more manually clicking through your website after every server configuration or nginx rule change.
Nette Assets: Finally unified API for everything from images to Vite
A new library that automatically handles versioning, image dimensions, and Vite integration. It works without configuration, and thanks to custom mappers, it covers anything – from product images to dynamic OG image generation.
One line in configuration will speed up your Nette application. How is that possible?
Thanks to lazy objects in PHP 8.4, services in the DI container are created only at the moment of actual use. Nette DI 3.2.4 makes it possible to activate this with a single line in the configuration – without any changes to your code.
Nette PHP Generator Brings the Power of PHP 8.4
Version 4.1.7 adds support for property hooks and asymmetric visibility. See how to elegantly generate modern code without getters and setters, define properties in interfaces, and fine-tune access to object properties.
Nette Utils: Performance and Efficiency Generators
Reading large files line by line, lazy mode in matchAll(), and the new Iterables class – three areas where Nette uses PHP generators to save memory and boost performance, without requiring you to change the way you write your code.
Elegant Presenter Structuring
Nette Framework 3.2 allows each presenter to have its own directory with all related files including templates. Thanks to the new `**` wildcard in mapping and intelligent template discovery, you get a cleaner and more modular application structure.
Latte News: Linter and Strict Mode
Latte has gained a linter for checking template syntax from the console, a strict parser mode that watches for proper closing of HTML tags, and support for dynamic HTML tags like `
You've reached the end.