PHPackages                             coka/doctrine-secret-type - 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. [Database &amp; ORM](/categories/database)
4. /
5. coka/doctrine-secret-type

ActiveLibrary[Database &amp; ORM](/categories/database)

coka/doctrine-secret-type
=========================

Custom Doctrine type that encrypted column value with openssl.

1.3.0(3y ago)1774MITPHPPHP &gt;=7.4

Since Oct 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/CedrickOka/doctrine-secret-type)[ Packagist](https://packagist.org/packages/coka/doctrine-secret-type)[ RSS](/packages/coka-doctrine-secret-type/feed)WikiDiscussions master Synced yesterday

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

Doctrine Secret Type
====================

[](#doctrine-secret-type)

[![Latest Stable Version](https://camo.githubusercontent.com/b1e305c5c44ea8275d435d2b89624d9dbb8e64b796c079d0912163e2db8c6743/68747470733a2f2f706f7365722e707567782e6f72672f636f6b612f646f637472696e652d7365637265742d747970652f762f737461626c65)](https://packagist.org/packages/coka/doctrine-secret-type)[![Total Downloads](https://camo.githubusercontent.com/2e9cac5f51a7354ce5d4b6082da1454e863b250ab32136c739037336ed288a19/68747470733a2f2f706f7365722e707567782e6f72672f636f6b612f646f637472696e652d7365637265742d747970652f646f776e6c6f616473)](https://packagist.org/packages/coka/doctrine-secret-type)[![Latest Unstable Version](https://camo.githubusercontent.com/9038ddf487eea35157bbe14e492438c83fcf293a66b01036a9dee5e0ed4376b3/68747470733a2f2f706f7365722e707567782e6f72672f636f6b612f646f637472696e652d7365637265742d747970652f762f756e737461626c65)](https://packagist.org/packages/coka/doctrine-secret-type)[![License](https://camo.githubusercontent.com/1a0d1db5cd8b3c3d5fddda2f8db3721000c66354f3fa410a8f4bea8368e58b69/68747470733a2f2f706f7365722e707567782e6f72672f636f6b612f646f637472696e652d7365637265742d747970652f6c6963656e7365)](https://packagist.org/packages/coka/doctrine-secret-type)[![Monthly Downloads](https://camo.githubusercontent.com/d7a96b3a8f1ce38d7df03b7e8436c2cbc5d9a850063b0095543a506efea5b8b6/68747470733a2f2f706f7365722e707567782e6f72672f636f6b612f646f637472696e652d7365637265742d747970652f642f6d6f6e74686c79)](https://packagist.org/packages/coka/doctrine-secret-type)[![Daily Downloads](https://camo.githubusercontent.com/0c3c1391235d9158101ade1fbc8dff18e12791aa6e7495a37dd67af07366c13f/68747470733a2f2f706f7365722e707567782e6f72672f636f6b612f646f637472696e652d7365637265742d747970652f642f6461696c79)](https://packagist.org/packages/coka/doctrine-secret-type)[![composer.lock](https://camo.githubusercontent.com/4ba6be130d208aa96dd01e5d88a26982b15c5683eba6153c33583d7ee2919e34/68747470733a2f2f706f7365722e707567782e6f72672f636f6b612f646f637472696e652d7365637265742d747970652f636f6d706f7365726c6f636b)](https://packagist.org/packages/coka/doctrine-secret-type)[![Travis CI](https://camo.githubusercontent.com/68424a60412726ac6cd8919469f5191b3f3bd4cef756fb9ee9b1d75041ad132d/68747470733a2f2f7472617669732d63692e6f72672f4365647269636b4f6b612f646f637472696e652d7365637265742d747970652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/CedrickOka/doctrine-secret-type)

The coka/doctrine-secret-type package provides the ability to use custom Doctrine type that encrypted column value with openssl.

Latest updates
--------------

[](#latest-updates)

For notes about latest changes please read [CHANGELOG](CHANGELOG.md), for required changes in your code please read UPGRADE chapter of documentation.

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

[](#documentation)

Read the [docs/index.md](docs/index.md).

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

[](#installation)

All the installation instructions are located in the [documentation](docs/index.md).

Original Credits
----------------

[](#original-credits)

- [Baidai Cedrick Oka](https://github.com/CedrickOka) as main author.

Copyright and License
---------------------

[](#copyright-and-license)

This library is copyright © Baidai Cedrick Oka  and under the MIT license. See the complete license [in the library](LICENSE).

[source](https://github.com/CedrickOka/doctrine-secret-type)[release](https://packagist.org/packages/coka/doctrine-secret-type)[license](https://github.com/CedrickOka/doctrine-secret-type/blob/master/LICENSE)[build](https://travis-ci.org/CedrickOka/doctrine-secret-type)[downloads](https://packagist.org/packages/coka/doctrine-secret-type)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Recently: every ~259 days

Total

10

Last Release

1348d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.2

1.3.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5698547?v=4)[Cedrick Oka](/maintainers/CedrickOka)[@CedrickOka](https://github.com/CedrickOka)

---

Top Contributors

[![CedrickOka](https://avatars.githubusercontent.com/u/5698547?v=4)](https://github.com/CedrickOka "CedrickOka (19 commits)")

---

Tags

typeencryptiondoctrineopenssl

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/coka-doctrine-secret-type/health.svg)

```
[![Health](https://phpackages.com/badges/coka-doctrine-secret-type/health.svg)](https://phpackages.com/packages/coka-doctrine-secret-type)
```

###  Alternatives

[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4636.8M12](/packages/fresh-doctrine-enum-bundle)[vasek-purchart/doctrine-date-time-immutable-types

Doctrine DateTimeImmutable types

42228.3k](/packages/vasek-purchart-doctrine-date-time-immutable-types)[vasek-purchart/doctrine-date-time-immutable-types-bundle

Bundle integration of Doctrine DateTimeImmutable types for Symfony

1085.6k](/packages/vasek-purchart-doctrine-date-time-immutable-types-bundle)

PHPackages © 2026

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