Skip to content
@nette-examples

nette-examples

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

Tools for any PHP project

  • 😎 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.

The framework

🏆 Application · 🧭 Routing · 🌐 HTTP · 🔑 Security · 🎨 Assets

For development

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.

Popular repositories Loading

  1. quickstart quickstart Public

    🎓 Tutorial Quick Start: official intro to Nette Framework by creating blog.

    PHP 78 47

  2. user-authentication user-authentication Public

    Example of user management in Nette

    PHP 13 21

  3. flat-file-blog flat-file-blog Public template

    📰 Simple flat-file blog using Nette and PHP 8.0

    PHP 11 5

  4. di-by-example di-by-example Public

    Dependency Injection Container example

    PHP 6

  5. micro-blog micro-blog Public archive

    [DISCONTINUED]

    PHP 6 1

  6. latte-by-example latte-by-example Public

    Latte Examples

    PHP 6

Repositories

Showing 10 of 12 repositories

Top languages

Loading…

Most used topics

Loading…