PHPackages                             mijingo/liefer - 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. mijingo/liefer

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

mijingo/liefer
==============

Consumes JSON and makes it available in your Twig templates.

0.0.2(8y ago)31.1kMITPHP

Since Dec 9Pushed 8y agoCompare

[ Source](https://github.com/Mijingo/liefer)[ Packagist](https://packagist.org/packages/mijingo/liefer)[ RSS](/packages/mijingo-liefer/feed)WikiDiscussions master Synced 2w ago

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

Liefer
======

[](#liefer)

A plugin for Craft CMS 3 that consumes Element API JSON and makes it available in your Twig templates.

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

[](#requirements)

This plugin requires Craft CMS 3.0.0-RC1 or later and a valid JSON file generated by Craft's Element API.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require mijingo/liefer

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Liefer.

Liefer Overview
---------------

[](#liefer-overview)

Pass in a JSON URL or location (best is one generated by the Element API) and then output the data to your Twig template.

Using Liefer
------------

[](#using-liefer)

```
{% set quotes = craft.liefer.get({url: 'https://something.com/quotes.json')} %}

{% for quote in quotes %}
  {{ quote.body }}
{% endfor %}
```

Enable caching on the Element API source.

Liefer Roadmap
--------------

[](#liefer-roadmap)

Some things to do, and ideas for potential features:

- Add caching support

About
-----

[](#about)

Brought to you by [Mijingo](https://mijingo.com)

JSON File by useiconic.com from the Noun Project

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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 ~81 days

Total

2

Last Release

3089d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2708f0ff712285dea85d71758ed5eb0830298cec920bfc7fb49d089bc679de98?d=identicon)[mijingo](/maintainers/mijingo)

---

Top Contributors

[![ryanirelan](https://avatars.githubusercontent.com/u/2238?v=4)](https://github.com/ryanirelan "ryanirelan (7 commits)")

---

Tags

craftcraft3craftcms-plugincraftcms3jsoncmsCraftcraftcmscraft-pluginliefer

### Embed Badge

![Health badge](/badges/mijingo-liefer/health.svg)

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

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)[mmikkel/retcon

Powerful Twig filters for mutating and querying HTML

80187.1k12](/packages/mmikkel-retcon)[verbb/hyper

A user-friendly links field for Craft.

24153.5k14](/packages/verbb-hyper)[verbb/vizy

A flexible visual editor field for Craft.

4251.5k1](/packages/verbb-vizy)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[verbb/events

A full-featured plugin for event management and ticketing.

2312.1k](/packages/verbb-events)

PHPackages © 2026

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