PHPackages                             dolphiq/jsonclient - 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. [Templating &amp; Views](/categories/templating)
4. /
5. dolphiq/jsonclient

AbandonedArchivedCraft-plugin[Templating &amp; Views](/categories/templating)

dolphiq/jsonclient
==================

Simple Json client plugin for Craft3 CMS. The plugin provides a simple Twig extension which allows you to fetch a Json url and return it to your Twig template.

1.0.3(7y ago)1710.1k8[2 issues](https://github.com/Dolphiq/craft3-jsonclient/issues)1MITPHP

Since Jun 8Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Dolphiq/craft3-jsonclient)[ Packagist](https://packagist.org/packages/dolphiq/jsonclient)[ RSS](/packages/dolphiq-jsonclient/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (1)

Json Client plugin for Craft CMS 3.1.x
======================================

[](#json-client-plugin-for-craft-cms-31x)

Currently the project is DISCONTINUED. However, feel free to fork it and continue its development!
--------------------------------------------------------------------------------------------------

[](#currently-the-project-is-discontinued-however-feel-free-to-fork-it-and-continue-its-development)

Simple Json client plugin for Craft3 CMS. The plugin provides a simple Twig extension which allows you to fetch a Json url and use the result in your Twig template.

Requirements
------------

[](#requirements)

- Craft 3.1+
- PHP 7.0+

Using the plugin
----------------

[](#using-the-plugin)

1. Install it using composer or the plugin store.
2. Do composer.json updates - see "Installing using composer"
3. You can use it from your template

### Using the plugin in your twig template

[](#using-the-plugin-in-your-twig-template)

```
    {# Get a random Fact form chucknorris.io #}
    {% set jsonData = fetchJson({
      'url': 'https://api.chucknorris.io/jokes/random'
    }) %}

    {% if (jsonData) %}
      Fact of the day
      {{ jsonData.value }}
    {% endif %}

```

Installing using composer
-------------------------

[](#installing-using-composer)

1. Go to the project craft folder in the terminal and run

    ```
    composer require dolphiq/jsonclient

    ```
2. Install plugin in the Craft Control Panel under Settings &gt; Plugins

Roadmap
-------

[](#roadmap)

- Create filters for xss scripts
- Create more helper functions to parse the Json
- Support multiple methods not only get
- Provide a way to add the parameters separated from the uri

### Contributors &amp; Developers

[](#contributors--developers)

- Johan Zandstra -
- Knut Erik Berg-Hansen
- Mike Pierce

Brought to you by [Dolphiq](https://dolphiq.nl)

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 73.9% 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 ~202 days

Total

4

Last Release

2702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9dfab1936de2791991111dcf8e0dc68b0ca43d1fedda94dc793e6dadcb467a09?d=identicon)[dolphiq](/maintainers/dolphiq)

---

Top Contributors

[![johanzandstra](https://avatars.githubusercontent.com/u/4737521?v=4)](https://github.com/johanzandstra "johanzandstra (17 commits)")[![Luuc15](https://avatars.githubusercontent.com/u/661751?v=4)](https://github.com/Luuc15 "Luuc15 (2 commits)")[![monachilada](https://avatars.githubusercontent.com/u/613183?v=4)](https://github.com/monachilada "monachilada (2 commits)")[![brandonkelly](https://avatars.githubusercontent.com/u/47792?v=4)](https://github.com/brandonkelly "brandonkelly (1 commits)")[![kbergha](https://avatars.githubusercontent.com/u/4321846?v=4)](https://github.com/kbergha "kbergha (1 commits)")

---

Tags

jsontwigcmsCraftcraftcmscraft-plugincraft3jsonclient

### Embed Badge

![Health badge](/badges/dolphiq-jsonclient/health.svg)

```
[![Health](https://phpackages.com/badges/dolphiq-jsonclient/health.svg)](https://phpackages.com/packages/dolphiq-jsonclient)
```

###  Alternatives

[wbrowar/guide

A CMS Guide for Craft CMS.

6154.6k1](/packages/wbrowar-guide)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k59](/packages/verbb-formie)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1087.5k](/packages/jalendport-craft-preparse)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[viget/craft-classnames

Classnames plugin for Craft CMS

1115.5k1](/packages/viget-craft-classnames)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.5k](/packages/verbb-footnotes)

PHPackages © 2026

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