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

v2.0.0(1y ago)19MITPHPPHP &gt;=8.2

Since Jan 19Pushed 4d 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 yesterday

READMEChangelog (1)Dependencies (2)Versions (3)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

39

—

LowBetter than 84% of packages

Maintenance73

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~379 days

Total

2

Last Release

517d ago

Major Versions

v1.0.0 → v2.0.02025-02-01

### 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-ctrdoctrinephpencryptiondoctrinedbalaes-256-ctr

### 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

[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.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)[jawira/db-draw

📐 Takes a DoctrineORM connection and generates a database diagram in .puml format

22113.6k3](/packages/jawira-db-draw)

PHPackages © 2026

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