# Nette NEON 4.0

A new major version of NEON, a human-friendly data format simpler than YAML, that can now edit a file and change only what you edit.

NEON 4 parses a file into a lossless syntax tree, where every comment and every space has its place. Edits change only the tokens they touch, so a diff shows only your change. It requires PHP 8.4 or later.

- Made by: [Nette](https://github.com/nette), [David Grudl](https://github.com/dg)
- Shipped: 26/10/2026
- Date from: [release](https://github.com/nette/neon/releases/tag/v4.0.0)
- Source: [github.com/nette/neon](https://github.com/nette/neon)
- Docs: [doc.nette.org/en/neon](https://doc.nette.org/en/neon)
- Install: `composer require nette/neon`
- Licence: BSD-3-Clause
- Stack: plain PHP
- Topics: Developer tools
- Checked: 28/10/2026
- Added: 28/10/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/nette-neon-4-0/)
```

See more at [phplives.dev](https://phplives.dev)
