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

[icanhazstring/composer-unused

Show unused packages by scanning your code

1.7k7.0M188](/packages/icanhazstring-composer-unused)[alchemy/zippy

Zippy, the archive manager companion

47522.6M51](/packages/alchemy-zippy)[johnpbloch/wordpress-core

WordPress is open source software you can use to create a beautiful website, blog, or app.

17812.3M117](/packages/johnpbloch-wordpress-core)[endroid/installer

Composer plugin for installing configuration files

15411.9M25](/packages/endroid-installer)[10up/10up-experience

The 10up Experience plugin configures WordPress to better protect and inform clients, aligned to 10up's best practices

139477.6k](/packages/10up-10up-experience)[omaralalwi/laravel-taxify

Laravel Taxify provides a set of helper functions and classes to simplify tax (VAT) calculations within Laravel applications. that allow developers to easily integrate tax calculation functionalities into their projects. it's offers a straightforward and efficient solution Designed to streamline the process of handling taxes.

471.7k](/packages/omaralalwi-laravel-taxify)

PHPackages © 2026

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