PHPackages                             getdkan/rooted-json-data - 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. getdkan/rooted-json-data

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

getdkan/rooted-json-data
========================

Access and modify JSON-based data objects while enforcing JSON Schema

0.2.3(1y ago)1161.4k↑66.1%[3 issues](https://github.com/GetDKAN/RootedJsonData/issues)[4 PRs](https://github.com/GetDKAN/RootedJsonData/pulls)1GPL-3.0-or-laterPHP

Since Nov 13Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/GetDKAN/RootedJsonData)[ Packagist](https://packagist.org/packages/getdkan/rooted-json-data)[ RSS](/packages/getdkan-rooted-json-data/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (22)Used By (1)

RootedJsonData
==============

[](#rootedjsondata)

[![Build status](https://camo.githubusercontent.com/b8216df2a08fad17d1a6ece5ef05abb891a32d69d7bb4cd5954d046a1af59b89/68747470733a2f2f636972636c6563692e636f6d2f67682f476574444b414e2f526f6f7465644a736f6e446174612e7376673f7374796c653d737667)](https://app.circleci.com/pipelines/github/GetDKAN/RootedJsonData?branch=master) [![Maintainability](https://camo.githubusercontent.com/6df66b4dfa2483affd398b0c98ed6cff683af4e0cf0535fac9d08989821f4398/68747470733a2f2f716c74792e73682f67682f476574444b414e2f70726f6a656374732f526f6f7465644a736f6e446174612f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/GetDKAN/projects/RootedJsonData) [![Code Coverage](https://camo.githubusercontent.com/1e3d3dd09a8beca4361a52df4ac12638339ae46c1df5a0e475575c6813d91a43/68747470733a2f2f716c74792e73682f67682f476574444b414e2f70726f6a656374732f526f6f7465644a736f6e446174612f636f7665726167652e737667)](https://qlty.sh/gh/GetDKAN/projects/RootedJsonData)

Access and modify JSON-based data objects while enforcing JSON Schema.

This library primarily wires together [JsonPath-PHP](https://github.com/Galbar/JsonPath-PHP/) and [Opis JSON Schema](https://github.com/opis/json-schema), providing a JSON Object class that functions like a small internal service. Data can be added, retrieved and modified through a simple API, and any changes will immediately provoke a re-validation. Validation errors through exceptions with actionable messages.

Example:

```
$json = '{"number":3}';
$schema = '{"type": "object","properties": {"number":{ "type": "number" }}}';
$data = new RootedJsonData($json, $schema);
echo $data->{"$.number"}; // 3
echo $data->{"$[number]"}; // 3
echo "{$data}"; // {"number":3}
$data->{"$.number"} = "three"; // EXCEPTION
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance42

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~175 days

Recently: every ~184 days

Total

10

Last Release

431d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f0d92fbf723138c5371b7bea3cfd623ceffd135864015c965e4379c8bfda37b?d=identicon)[dafeder](/maintainers/dafeder)

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

---

Top Contributors

[![dafeder](https://avatars.githubusercontent.com/u/309671?v=4)](https://github.com/dafeder "dafeder (25 commits)")[![fmizzell](https://avatars.githubusercontent.com/u/5494584?v=4)](https://github.com/fmizzell "fmizzell (5 commits)")[![paul-m](https://avatars.githubusercontent.com/u/360238?v=4)](https://github.com/paul-m "paul-m (4 commits)")[![janette](https://avatars.githubusercontent.com/u/314172?v=4)](https://github.com/janette "janette (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/getdkan-rooted-json-data/health.svg)

```
[![Health](https://phpackages.com/badges/getdkan-rooted-json-data/health.svg)](https://phpackages.com/packages/getdkan-rooted-json-data)
```

###  Alternatives

[mcp/sdk

Model Context Protocol SDK for Client and Server applications in PHP

1.4k423.9k30](/packages/mcp-sdk)[ramsey/conventional-commits

A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook action!

1931.2M122](/packages/ramsey-conventional-commits)[php-coord/php-coord

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

110914.5k12](/packages/php-coord-php-coord)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)

PHPackages © 2026

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