PHPackages                             zillingen/json-content - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. zillingen/json-content

ActiveBolt-extension[HTTP &amp; Networking](/categories/http)

zillingen/json-content
======================

The Bolt CMS extension allow create and edit records using REST API

v0.1.0(6y ago)02MITPHP

Since Jan 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zillingen/json-content)[ Packagist](https://packagist.org/packages/zillingen/json-content)[ RSS](/packages/zillingen-json-content/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

JSON content
============

[](#json-content)

JSON-content is the BoltCMS extension allow to create and edit content using REST API

Configuration
-------------

[](#configuration)

After extension was installed you need change access token in the extension's config. This token need to authenticate requests of your HTTP client.

Config example:

```
path: /api/content
auth:
  enabled: true
  access_token: LeeD7che3sohs8ou8iizegeepai9oup
```

REST schema
-----------

[](#rest-schema)

### View

[](#view)

View record by `id`

Example:

```
curl -X GET http://localhost:8000/api/content/entry/1
```

### Create

[](#create)

Create record from json

Example:

```
curl -X POST \
     -H 'Content-Type: application/json' \
     -H 'X-Auth-Token: LeeD7che3sohs8ou8iizegeepai9oup' \
     -d '{"title":"My new entry","slug":"my-new-entry","ownerid":"1","status":"published"}' \
     http://localhost:8000/api/content/entry
```

You can create content entity with taxonomies.

POST request example with more advanced JSON:

```
POST http://localhost:8000/api/content/posts
Content-Type: application/json
X-Auth-Token: LeeD7che3sohs8ou8iizegeepai9oup

{
  "slug": "new-blog-post",
  "ownerid": 1,
  "status": "published",
  "title": "New blog post",
  "image": {
    "file": "2020-01/post-image.jpg"
  },
  "taxonomy": {
    "tags": [
      {
        "name": "News",
        "slug": "news"
      },
      {
        "name": "Review",
        "slug": "reviews"
      }
    ],
    "categories": [
      {
        "slug": "news",
        "name": "News"
      }
    ]
  }
}
```

### Patch

[](#patch)

Patch content entity fields

Example:

```
curl -X PATCH \
     -H 'Content-Type: application/json' \
     -H 'X-Auth-Token: LeeD7che3sohs8ou8iizegeepai9oup' \
     -d '{"title":"Patched title"}' \
     http://localhost:8000/api/content/entry/1
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

2318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a4bab8305530ef6615d2a9e6a077e7e5ef05567386a498dfe2370a99e7cb784?d=identicon)[zillingen](/maintainers/zillingen)

---

Top Contributors

[![zillingen](https://avatars.githubusercontent.com/u/19304297?v=4)](https://github.com/zillingen "zillingen (1 commits)")

---

Tags

jsonapirestcontent

### Embed Badge

![Health badge](/badges/zillingen-json-content/health.svg)

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

###  Alternatives

[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69114.3k](/packages/serpapi-google-search-results-php)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)[jsor/hal-client

A lightweight client for consuming and manipulating Hypertext Application Language (HAL) resources.

2425.9k1](/packages/jsor-hal-client)[elao/json-http-form-bundle

Adds support of JSON requests for Forms

356.0k](/packages/elao-json-http-form-bundle)

PHPackages © 2026

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