PHPackages                             putyourlightson/craft-secrets - 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. putyourlightson/craft-secrets

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

putyourlightson/craft-secrets
=============================

Store and manage secrets in an encrypted file.

3.0.0(2y ago)117561mitPHPPHP ^8.2

Since Jul 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/putyourlightson/craft-secrets)[ Packagist](https://packagist.org/packages/putyourlightson/craft-secrets)[ RSS](/packages/putyourlightson-craft-secrets/feed)WikiDiscussions develop Synced yesterday

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

[![Stable Version](https://camo.githubusercontent.com/29f66861b45a5e2da9a644df0924b821fb0e56b4ba8f9c9e64d812cc21165b73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d736563726574733f6c6162656c3d737461626c65)](https://camo.githubusercontent.com/29f66861b45a5e2da9a644df0924b821fb0e56b4ba8f9c9e64d812cc21165b73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d736563726574733f6c6162656c3d737461626c65)[![Total Downloads](https://camo.githubusercontent.com/edaf9e5e5eef5580bd49035afb47a73d6d46869d49ba63274607d286ea5700f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707574796f75726c69676874736f6e2f63726166742d73656372657473)](https://packagist.org/packages/putyourlightson/craft-secrets)

[![](https://raw.githubusercontent.com/putyourlightson/craft-secrets/develop/src/icon.svg)](https://raw.githubusercontent.com/putyourlightson/craft-secrets/develop/src/icon.svg)

Secrets Plugin for Craft CMS
============================

[](#secrets-plugin-for-craft-cms)

The Secrets plugin allows you to store and manage secrets in an encrypted file. There are some benefits to storing secrets this way, instead of the conventional approach of storing them as plaintext in the `.env` file.

1. Secrets are encrypted and cannot be revealed without the encryption key.
2. The encrypted file can be committed to your repository, meaning you avoid having to send secrets in plaintext to other developers. You also end up with a history of changes to the file.
3. If secrets change or are rotated then there is only one file that needs to be updated.

[![Secrets CLI](https://camo.githubusercontent.com/25c9669395b3fb8689959574f25784d7b929c577620f3e172aaf84648425246d/68747470733a2f2f707574796f75726c69676874736f6e2e636f6d2f6173736574732f696d616765732f706c7567696e732f736563726574732f736563726574732d636c692e706e67)](https://camo.githubusercontent.com/25c9669395b3fb8689959574f25784d7b929c577620f3e172aaf84648425246d/68747470733a2f2f707574796f75726c69676874736f6e2e636f6d2f6173736574732f696d616765732f706c7567696e732f736563726574732f736563726574732d636c692e706e67)

Documentation
-------------

[](#documentation)

Learn more and read the documentation at [putyourlightson.com/plugins/secrets »](https://putyourlightson.com/plugins/secrets)

License
-------

[](#license)

This plugin is licensed for free under the MIT License.

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

[](#requirements)

This plugin requires [Craft CMS](https://craftcms.com/) 3.0.3 or later, or 4.0.0 or later, or 5.0.0 or later.

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

[](#installation)

To install the plugin, search for “Secrets” in the Craft Plugin Store, or install manually using composer.

```
composer require putyourlightson/craft-secrets
```

---

Created by [PutYourLightsOn](https://putyourlightson.com/).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~191 days

Total

7

Last Release

762d ago

Major Versions

v1.x-dev → 2.0.0-alpha.12022-03-05

2.0.0 → 3.0.0-beta.12024-02-20

PHP version history (2 changes)2.0.0PHP ^8.0.2

3.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/59428c6783d02d74c8778d9953ba84c35d3877ece53f5eb393689c052a9c97e4?d=identicon)[putyourlightson](/maintainers/putyourlightson)

---

Top Contributors

[![bencroker](https://avatars.githubusercontent.com/u/57572400?v=4)](https://github.com/bencroker "bencroker (13 commits)")

### Embed Badge

![Health badge](/badges/putyourlightson-craft-secrets/health.svg)

```
[![Health](https://phpackages.com/badges/putyourlightson-craft-secrets/health.svg)](https://phpackages.com/packages/putyourlightson-craft-secrets)
```

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

395798.1k10](/packages/spicyweb-craft-neo)[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[craftcms/ckeditor

Edit rich text content in Craft CMS using CKEditor.

48359.1k52](/packages/craftcms-ckeditor)

PHPackages © 2026

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