PHPackages                             zillingen/json-files - 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-files

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

zillingen/json-files
====================

The Bolt CMS extension allows upload files via POST multipart/form-data requests

0.1.1(6y ago)02MITPHP

Since Jan 4Pushed 6y ago1 watchersCompare

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

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

JSON files
==========

[](#json-files)

JSON-files is the Bolt CMS extension which allow to upload files through POST multipart/form-data requests. The extension saves uploaded files in `public/files` folder. If you set `filename` field with subdirectory like `mysubdir/file.jpg` extension will create folder and will save uploaded file into it.

Accepts only one level sub folder against files directory. For example, filename `folder/file.jpg` is right, but filename like `folder1/folder2/file.jpg` will throw error.

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

[](#configuration)

After install you need to configure access token. Extension checks this token in X-Auth-Token header against every requests.

Extension's config example:

```
# app/config/extensions/jsonfiles.zillingen.yml

# Base path
path: /api/files

# Authentication
auth:
  enabled: true
  access_token: ee0fa2EiSohfoowo0aekea0xohB3quoh
```

Upload files
------------

[](#upload-files)

Upload into `public/files`

```
curl -X POST \
    -H "X-Auth-Token: ee0fa2EiSohfoowo0aekea0xohB3quoh" \
    -F "filename=bar.jpg" \
    -F "file=@48d56e29c95411ed.jpg" \
    http://mysite.com/api/files
```

Upload into subdirectory in `public/files`

```
curl -X POST \
    -H "X-Auth-Token: ee0fa2EiSohfoowo0aekea0xohB3quoh" \
    -F "filename=foo/bar.jpg" \
    -F "file=@48d56e29c95411ed.jpg" \
    http://mysite.com/api/files
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

2

Last Release

2319d 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 (3 commits)")

---

Tags

jsonrestfilesboltcms

### Embed Badge

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

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

###  Alternatives

[jacwright/restserver

php rest server for very light-weight REST APIs

51070.0k3](/packages/jacwright-restserver)[givebutter/laravel-keyable

Add API keys to your Laravel models

187144.5k2](/packages/givebutter-laravel-keyable)

PHPackages © 2026

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