PHPackages                             secretary/secretary-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. secretary/secretary-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

secretary/secretary-bundle
==========================

Secrets Manager Bundle for Symfony

4.3.0(3mo ago)286.3k↓43.3%MITPHPPHP ^8.2

Since Apr 17Pushed 3mo ago1 watchersCompare

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

READMEChangelogDependencies (7)Versions (43)Used By (0)

Secretary Bundle - Secrets Manager for Symfony
==============================================

[](#secretary-bundle---secrets-manager-for-symfony)

This Bundle Experimental!
-------------------------

[](#this-bundle-experimental)

Secrets are an important aspect of most applications you can build. How you store them, and keep them "secret" is a challenge. Luckily, there are tools you can use to keep them all safe.

Secretary is a tool to integrate your PHP application with these tools.

You can find more information about the underlying library over at [the main docs](https://github.com/secretary/php).

### Installation

[](#installation)

```
$ composer require secretary/symfony
```

### Configuration

[](#configuration)

```
# config/packages/secretary.yamlg
services:
    Symfony\Component\Cache\Adapter\ApcuAdapter:
        arguments: ['secrets', 300000]

secretary:
    adapters:
        json:
            adapter: Secretary\Adapter\Local\JSONFile\LocalJSONFileAdapter
            config:
                file:  '%kernel.root_dir%/config/secrets.json'
        aws:
            adapter: Secretary\Adapter\AWS\SecretsManager\AWSSecretsManagerAdapter
            config:
                region:  'us-east-1'
                version: 'latest'
                credentials:
                    key: "%env(API_AWS_ACCESS_KEY_ID)%"
                    secret: "%env(API_AWS_SECRET_ACCESS_KEY)%"
        default: # chain adapter
            adapter: Secretary\Adapter\Chain\ChainAdapter
            config:
                - @secretary.adapter.json
                - @secretary.adapter.aws
            cache:
                enabled:    true
                type:       psr6
                service_id: cache.secrets
```

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance81

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 57.7% 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 ~61 days

Recently: every ~190 days

Total

42

Last Release

98d ago

Major Versions

1.4.0 → 2.0.02022-02-11

2.0.0 → 3.0.02024-01-09

3.0.6 → 4.2.02026-01-21

PHP version history (6 changes)1.0.1PHP ^7.1.0

1.2.0PHP ^7.2.0

1.3.2PHP &gt;=7.2

1.4.0PHP &gt;=7.4

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

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

---

Tags

vaultsecretssecretarykeyvaultsecretsmanager

### Embed Badge

![Health badge](/badges/secretary-secretary-bundle/health.svg)

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

###  Alternatives

[csharpru/vault-php

Best Vault client for PHP that you can find

8410.3M4](/packages/csharpru-vault-php)[bref/secrets-loader

Load secret values from SSM into environment variables

15522.6k4](/packages/bref-secrets-loader)[tokenly/laravel-vault

A Laravel interface for Hashicorp Vault

1717.1k](/packages/tokenly-laravel-vault)

PHPackages © 2026

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