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.