PHPackages                             maryo/neon-updater - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. maryo/neon-updater

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

maryo/neon-updater
==================

Format Preserving Nette NEON Update

015PHP

Since Nov 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/maryo/neon-updater)[ Packagist](https://packagist.org/packages/maryo/neon-updater)[ RSS](/packages/maryo-neon-updater/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

maryo/neon-updater
==================

[](#maryoneon-updater)

Format Preserving Nette NEON Update.

Warning

Updating of inline arrays is not yet supported.

Warning

Deleting of keys is not yet supported.

Installation
------------

[](#installation)

```
composer require maryo/neon-updater
```

Usage
-----

[](#usage)

```
foo: # lorem ipsum
    foo: foo # foo
    bar: bar
```

Given this NEON string, you can update the value of `foo.foo` key to `value` using the following code:

```
use Maryo\NeonUpdater;

$updatedNeon = NeonUpdater::update($neon, ['foo', 'foo'], 'value');
```

The value of the `$updatedNeon` variable will be:

```
foo: # lorem ipsum
    foo: value # foo
    bar: bar
```

To append a new value, pass null as the segment in the `$path`:

```
$updatedNeon = NeonUpdater::update($neon, ['foo', null], 'baz');
```

The value of the `$updatedNeon` variable will be:

```
foo: # lorem ipsum
    foo: foo # foo
    bar: bar
    - baz
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0d882c3421e9c9188486977fb9193ee5840db4e1ac071fae1305112c92ab04a?d=identicon)[maryo](/maintainers/maryo)

---

Top Contributors

[![maryo](https://avatars.githubusercontent.com/u/900769?v=4)](https://github.com/maryo "maryo (1 commits)")

### Embed Badge

![Health badge](/badges/maryo-neon-updater/health.svg)

```
[![Health](https://phpackages.com/badges/maryo-neon-updater/health.svg)](https://phpackages.com/packages/maryo-neon-updater)
```

###  Alternatives

[wfeller/laravel-onboard

Track onboarding steps for users when they get setup in your app.

199.5k](/packages/wfeller-laravel-onboard)[rupadana/filament-slider

Slide into Precision – Customizable Control at Your Fingertips.

1221.3k](/packages/rupadana-filament-slider)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
