PHPackages                             oblik/kirby-json - 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. oblik/kirby-json

Abandoned → [https://getkirby.com/docs/reference/panel/fields/textarea](/?search=https%3A%2F%2Fgetkirby.com%2Fdocs%2Freference%2Fpanel%2Ffields%2Ftextarea)ArchivedKirby-plugin[Utility &amp; Helpers](/categories/utility)

oblik/kirby-json
================

JSON editor and field for Kirby.

1.0.1(6y ago)127121MITVue

Since Sep 2Pushed 3y ago3 watchersCompare

[ Source](https://github.com/OblikStudio/kirby-json)[ Packagist](https://packagist.org/packages/oblik/kirby-json)[ RSS](/packages/oblik-kirby-json/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (1)

kirby-json
==========

[](#kirby-json)

Kirby JSON field and JSON editor Vue component.

[![JSON editor component](editor.png)](editor.png)

⚠ Deprecated!
-------------

[](#-deprecated)

If your user has to manually edit JSON, you're probably doing something wrong. Even if they *have to* deal with JSON, it would probably be much better to give them a text field, where they could just write it like anyone else would, rather than providing a GUI. Thus, it makes no sense to have a JSON field.

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

[](#installation)

With [Composer](https://packagist.org/packages/oblik/kirby-json):

```
composer require oblik/kirby-json

```

Usage
-----

[](#usage)

### Field

[](#field)

In the blueprint:

```
fields:
  myData:
    type: json
```

Available blueprint options for the editor:

```
array: false  # Saved value should be an array?
keys: false   # Edit object keys?
values: true  # Edit values?
mutate: false # Add/remove entries?
sort: true    # Allow entry reordering?
```

In the template, use the native Kirby `toData()` method:

```
$data = $page->myData()->toData('json');
```

### Component

[](#component)

If you're building a plugin and you need to allow the user to edit JSON, you can use the same component that the above JSON field uses, `k-json-editor`, in your own panel plugin:

```

```

The `options` you can pass to the component:

```
{
  "isKeysEditable": true,
  "isValuesEditable": true,
  "isMutatable": true,
  "isSortable": true
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~22 days

Total

2

Last Release

2424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/078077710a1481f0419521ab1e1d3e5f93723aadd56148937ee3e355b93acb2e?d=identicon)[hdodov](/maintainers/hdodov)

---

Top Contributors

[![yandodov](https://avatars.githubusercontent.com/u/5570098?v=4)](https://github.com/yandodov "yandodov (14 commits)")

### Embed Badge

![Health badge](/badges/oblik-kirby-json/health.svg)

```
[![Health](https://phpackages.com/badges/oblik-kirby-json/health.svg)](https://phpackages.com/packages/oblik-kirby-json)
```

###  Alternatives

[distantnative/retour-for-kirby

Manage redirects and track 404s right from the Kirby CMS Panel

14689.4k1](/packages/distantnative-retour-for-kirby)[mzur/kirby-uniform

A versatile Kirby plugin to handle web form actions.

26068.3k13](/packages/mzur-kirby-uniform)[arnoson/kirby-vite

Vite helper for Kirby CMS

9759.2k3](/packages/arnoson-kirby-vite)[thathoff/kirby-git-content

Plugin to track changes to content in a git repository.

15343.7k](/packages/thathoff-kirby-git-content)[sylvainjule/locator

A map &amp; geolocation field, built on top of open-source services / Mapbox

11237.3k1](/packages/sylvainjule-locator)[tobimori/kirby-seo

The default choice for SEO on Kirby: Implement technical SEO &amp; Meta best practices with ease and provide an easy-to-use editor experience

10039.7k1](/packages/tobimori-kirby-seo)

PHPackages © 2026

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