PHPackages                             d3d9ex/doctrine-aes-256-ctr-encrypted-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. d3d9ex/doctrine-aes-256-ctr-encrypted-type

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

d3d9ex/doctrine-aes-256-ctr-encrypted-type
==========================================

Doctrine custom type for AES-256 CTR mode encryption

v1.0.0(2y ago)16MITPHPPHP &gt;=8.2

Since Jan 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Legend999/doctrine-aes-256-ctr-encrypted-type)[ Packagist](https://packagist.org/packages/d3d9ex/doctrine-aes-256-ctr-encrypted-type)[ Docs](https://github.com/Legend999/doctrine-aes-256-ctr-encrypted-type)[ RSS](/packages/d3d9ex-doctrine-aes-256-ctr-encrypted-type/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

AES-256 CTR Doctrine Type
=========================

[](#aes-256-ctr-doctrine-type)

A custom Doctrine Type for AES-256 encryption in CTR mode.

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

[](#installation)

```
composer require d3d9ex/doctrine-aes-256-ctr-encrypted-type
```

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

[](#configuration)

```
use D3d9ex\Aes256CtrEncryptedType\Aes256CtrEncrypted;
use Doctrine\DBAL\Types\Type;

/* ... */

Type::addType(Aes256CtrEncrypted::NAME, Aes256CtrEncrypted::class);
Aes256CtrEncrypted::setSecretKey(getenv('AES_KEY'));
```

Usage
-----

[](#usage)

```
use D3d9ex\Aes256CtrEncryptedType\Aes256CtrEncrypted;
use Doctrine\ORM\Mapping as ORM;

/* ... */

#[ORM\Entity]
#[ORM\Table(name: 'entities')]
class Entity
{
	#[ORM\Column(name: 'secret_value', type: Aes256CtrEncrypted::NAME)]
	private string $secretValue;

	/* ... */
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

844d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48119fc62efc971b9ada566ecdfe898b2174db4790520275d386ae56a7f527bc?d=identicon)[Legend999](/maintainers/Legend999)

---

Top Contributors

[![Legend999](https://avatars.githubusercontent.com/u/28870018?v=4)](https://github.com/Legend999 "Legend999 (2 commits)")

---

Tags

aes256-ctrdoctrine

### Embed Badge

![Health badge](/badges/d3d9ex-doctrine-aes-256-ctr-encrypted-type/health.svg)

```
[![Health](https://phpackages.com/badges/d3d9ex-doctrine-aes-256-ctr-encrypted-type/health.svg)](https://phpackages.com/packages/d3d9ex-doctrine-aes-256-ctr-encrypted-type)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26571.7k1](/packages/worksome-foggy)

PHPackages © 2026

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