Nette is a family of PHP libraries. Each of them works on its own, and together they make a full framework for web applications. You can start with one and add more later. Or never.
Start here: documentation Β· skeleton of a new project Β· forum Β· blog
- π Tracy β the addictive PHP debugger. Once you see an error in Tracy, you will not want to see it any other way.
- β Latte β the only truly secure templates for PHP. Context-aware escaping stops XSS where other engines let it through.
- π Tester β unit testing you will actually enjoy. Tests are plain PHP scripts, and they run in parallel.
- π DI β dependency injection without the paperwork. Autowiring connects the services, and the container is compiled into fast PHP code.
- π Forms β write the rules once and get validation in the browser and on the server, plus protection against attacks for free.
- πΎ Database β write SQL when you want to, or let Explorer write it for you, with no N+1 queries.
- β‘ Caching β a cache that knows when to forget. Expire by time, tags or file changes, and store in files, Redis, Memcached or SQLite.
- π§ Mail β composes and sends e-mails. Images in HTML are embedded for you, and DKIM signing is included.
- π Utils β the helpers you would write yourself, only already tested.
- π PHP Generator β generates PHP code with every new feature of PHP, from the first day.
- π Schema β validates configuration or API input in a few lines, with error messages that say exactly what is wrong.
- πΈ NEON β configuration like YAML, only with fewer surprises. Edit it from code and every comment stays.
- π» Command Line β turns a PHP script into a real command-line tool in a few lines. Help and error messages included.
π Application Β· π§ Routing Β· π HTTP Β· π Security Β· π¨ Assets
PHPStan rules Β· plugins for Claude Code and Codex Β· Vite plugin Β· ESLint plugin Β· Twig to Latte converter
Nette is made by David Grudl and many contributors. If it saves you time, sponsoring helps to keep it going.