PHPackages                             brainplusplus/php-jsonpath - 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. brainplusplus/php-jsonpath

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

brainplusplus/php-jsonpath
==========================

JSONPath Library and Helper

1.0.0(8y ago)021MITPHP &gt;=5.3.0

Since Oct 28Compare

[ Source](https://github.com/brainplusplus/php-jsonpath)[ Packagist](https://packagist.org/packages/brainplusplus/php-jsonpath)[ RSS](/packages/brainplusplus-php-jsonpath/feed)WikiDiscussions Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

php-jsonpath
============

[](#php-jsonpath)

fork from

and add JsonPathHelper class

how to use :

$url = "[https://api-ssl.bitly.com/v3/link/referrers?access\_token=xxxxx&amp;link=http://bit.ly/xxxxx](https://api-ssl.bitly.com/v3/link/referrers?access_token=xxxxx&link=http://bit.ly/xxxxx)";

for example json in that url is :

{"status\_code": 200, "data": {"units": -1, "unit\_reference\_ts": null, "tz\_offset": -4, "unit": "day", "referrers": \[{"referrer": "", "clicks": 111}, {"referrer": "direct", "clicks": 99}, {"referrer": "android-app://com.twitter.android", "clicks": 81}, {"referrer": "/android-app://com.twitter.android", "clicks": 2}\]}, "status\_txt": "OK"}

$expr = "$..referrers.\*";

echo "

Contoh ambil json string value
------------------------------

[](#contoh-ambil-json-string-value)

"; $result = JsonPathHelper::getJsonStringValueByUrl($url,$expr); echo $result;echo "

Contoh ambil json string path
-----------------------------

[](#contoh-ambil-json-string-path)

"; $result = JsonPathHelper::getJsonStringPathByUrl($url,$expr); echo $result;echo "

Contoh ambil json object
------------------------

[](#contoh-ambil-json-object)

"; $result = JsonPathHelper::getJsonValueByUrl($url,$expr); var\_dump($result);

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3214d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/815195?v=4)[Muhammad Tri Wibowo](/maintainers/brainplusplus)[@brainplusplus](https://github.com/brainplusplus)

### Embed Badge

![Health badge](/badges/brainplusplus-php-jsonpath/health.svg)

```
[![Health](https://phpackages.com/badges/brainplusplus-php-jsonpath/health.svg)](https://phpackages.com/packages/brainplusplus-php-jsonpath)
```

###  Alternatives

[pantheon-systems/pantheon-hud

Provide situational awareness of the Pantheon platform from within your WordPress dashboard.

1710.5k](/packages/pantheon-systems-pantheon-hud)

PHPackages © 2026

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