PHPackages                             oberon/quill-delta - 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. oberon/quill-delta

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

oberon/quill-delta
==================

Compose the deltas of a quill editor history ops array. Port of npm library quill-delta

1.0.2(7y ago)077MITPHPPHP &gt;=5.6.0

Since Jul 25Pushed 7y ago2 watchersCompare

[ Source](https://github.com/jurriaanr/quill-delta)[ Packagist](https://packagist.org/packages/oberon/quill-delta)[ Docs](https://github.com/jurriaanr/quill-delta)[ RSS](/packages/oberon-quill-delta/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Quill Delta
===========

[](#quill-delta)

This is a PHP port of the npm library quill-delta. Right now it only ports the compose function to compose the full history including all the retains and deletes to a final version with only the necessary inserts.

installation
------------

[](#installation)

Use composer

```
composer require oberon/quill-delta

```

usage
-----

[](#usage)

```
use Oberon\Quill\Delta\Composer;

$fullOps = [
    [
        "ops" => [
            ["insert" => "hello"],
        ],
    ],
    [
        "ops" => [
            ["retain" => 5],
            ["insert" => " world"],
        ],
    ],
];

$quilComposer = new Composer();
echo $quilComposer->compose($fullOps);

// {"ops":[{"insert":"hello world"}]}

```

or

```
use Oberon\Quill\Delta\Delta;

$fullOps = [
    [
        "ops" => [
            ["insert" => "hello"],
        ],
    ],
    [
        "ops" => [
            ["retain" => 5],
            ["insert" => " world"],
        ],
    ],
];

$output = array_reduce($fullOps, function(Delta $delta, $ops){
    $comp = $delta->compose(new Delta($ops));
    return $comp;
}, new Delta());

echo $output;

// {"ops":[{"insert":"hello world"}]}

```

notes
-----

[](#notes)

```
* only supports the delta compose method, diff and other utilities are not supported

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

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.

###  Release Activity

Cadence

Every ~21 days

Total

3

Last Release

2854d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7426848?v=4)[jurriaanr](/maintainers/jurriaanr)[@jurriaanr](https://github.com/jurriaanr)

![](https://avatars.githubusercontent.com/u/18033603?v=4)[KellydeHaan](/maintainers/KellydeHaan)[@KellydeHaan](https://github.com/KellydeHaan)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oberon-quill-delta/health.svg)

```
[![Health](https://phpackages.com/badges/oberon-quill-delta/health.svg)](https://phpackages.com/packages/oberon-quill-delta)
```

###  Alternatives

[aoepeople/zettr

Manage and apply settings (formerly known as EnvSettingsTool)

209.9k](/packages/aoepeople-zettr)[manners/widgets

A module for extended widget options in Magento 1.

142.0k](/packages/manners-widgets)[calderawp/dismissible-notice

Creates a dismissible--via AJAX--admin nag.

151.3k](/packages/calderawp-dismissible-notice)

PHPackages © 2026

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