PHPackages                             secretary/local-json-file-adapter - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. secretary/local-json-file-adapter

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

secretary/local-json-file-adapter
=================================

JSON File Adapter for Secretary

4.3.0(3mo ago)193.3k↓43.9%MITPHPPHP ^8.2

Since Aug 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/secretary/php-json-file-adapter)[ Packagist](https://packagist.org/packages/secretary/local-json-file-adapter)[ RSS](/packages/secretary-local-json-file-adapter/feed)WikiDiscussions master Synced 1mo ago

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

Secretary - JSON File Adapter
=============================

[](#secretary---json-file-adapter)

JSON File Adapter for [Secretary](https://github.com/secretary/php)

Table of Contents
-----------------

[](#table-of-contents)

1. [Installation](#installation)
2. [Secret Structure](#secrets-file-structure)

### Installation

[](#installation)

```
$ composer require secretary/core secretary/local-json-file-adapter
```

### Secrets File Structure

[](#secrets-file-structure)

```
[
    {
        "key": "my-secret-key",
        "value": "some secret"
    },
    {
        "key": "some-other-secret",
        "value": {
            "a": "b"
        },
        "metadata": {"foo":  "bar"}
    }
]
```

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance81

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 52.6% 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 ~64 days

Recently: every ~190 days

Total

38

Last Release

98d ago

Major Versions

1.4.0 → 2.0.02022-02-11

2.0.0 → 3.0.02024-01-10

3.0.6 → 4.2.02026-01-21

PHP version history (6 changes)1.1.0PHP ^7.1.0

1.2.0PHP ^7.2.0

1.3.2PHP &gt;=7.2

1.4.0PHP ^7.4 || ^8.0

2.0.0PHP ^8.0

4.2.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![deluxetom](https://avatars.githubusercontent.com/u/6439307?v=4)](https://github.com/deluxetom "deluxetom (10 commits)")[![cryptiklemur](https://avatars.githubusercontent.com/u/896295?v=4)](https://github.com/cryptiklemur "cryptiklemur (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

jsonsecretssecretary

### Embed Badge

![Health badge](/badges/secretary-local-json-file-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/secretary-local-json-file-adapter/health.svg)](https://phpackages.com/packages/secretary-local-json-file-adapter)
```

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k316.9M612](/packages/justinrainbow-json-schema)[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[colinodell/json5

UTF-8 compatible JSON5 parser for PHP

30422.2M45](/packages/colinodell-json5)[clue/ndjson-react

Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.

15467.7M16](/packages/clue-ndjson-react)

PHPackages © 2026

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