|
1 | 1 | # Doctrine Encrypt Bundle |
2 | 2 |
|
3 | | -[](https://github.com/nowo-tech/DoctrineEncryptBundle/actions/workflows/ci.yml) [](https://packagist.org/packages/nowo-tech/doctrine-encrypt-bundle) [](https://packagist.org/packages/nowo-tech/doctrine-encrypt-bundle) [](LICENSE) [](https://php.net) [](https://symfony.com) [](https://github.com/nowo-tech/DoctrineEncryptBundle) [](#tests-and-coverage) |
| 3 | +[](https://github.com/nowo-tech/DoctrineEncryptBundle/actions/workflows/ci.yml) [](https://packagist.org/packages/nowo-tech/doctrine-encrypt-bundle) [](https://packagist.org/packages/nowo-tech/doctrine-encrypt-bundle) [](LICENSE) [](https://php.net) [](https://symfony.com) |
4 | 4 |
|
5 | | -**Symfony bundle to encrypt Doctrine entity fields at rest** using [Halite](https://github.com/paragonie/halite) or [Defuse](https://github.com/defuse/php-encryption)—audited libraries, no custom crypto. For **Symfony 7 and 8** · PHP 8.1+. Suits **GDPR** and compliance (e.g. Art. 32); supports key rotation and [Nowo\AnonymizedBundle](https://github.com/nowo-tech/AnonymizedBundle) for anonymization and erasure. |
| 5 | +**Symfony bundle to encrypt Doctrine entity fields at rest** using [Halite](https://github.com/paragonie/halite) or [Defuse](https://github.com/defuse/php-encryption)—audited libraries, no custom crypto. For **Symfony 7.4+ and 8** · PHP 8.2+. Suits **GDPR** and compliance (e.g. Art. 32); supports key rotation and [Nowo\AnonymizedBundle](https://github.com/nowo-tech/AnonymizedBundle) for anonymization and erasure. |
6 | 6 |
|
7 | 7 | > ⭐ **Found this useful?** [Install from Packagist](https://packagist.org/packages/nowo-tech/doctrine-encrypt-bundle) · Give it a **star** on [GitHub](https://github.com/nowo-tech/DoctrineEncryptBundle) so more developers can find it. |
8 | 8 |
|
@@ -36,7 +36,7 @@ Looking for **Doctrine encryption**, **encrypt entity fields**, **Halite Symfony |
36 | 36 | - ✅ Console commands: status, generate secret key, encrypt/decrypt database, **rotate keys** (backup, decrypt, change keys, re-encrypt with confirmations) |
37 | 37 | - ✅ **Key rotation** — one command or manual steps; combinable with [Nowo\AnonymizedBundle](https://github.com/nowo-tech/AnonymizedBundle) for GDPR-compliant anonymization and erasure |
38 | 38 | - ✅ **Symfony Flex** recipe (register bundle + config; see [docs/INSTALLATION.md](docs/INSTALLATION.md)) |
39 | | -- ✅ Compatible with **Symfony 7 and 8** and **Doctrine ORM 2.x and 3.x** |
| 39 | +- ✅ Compatible with **Symfony 7.4+ and 8** and **Doctrine ORM 2.x and 3.x** |
40 | 40 | - ✅ Compatible with **FrankenPHP** (HTTP runtime and optional **worker** mode; demos default to **`APP_ENV=dev`** with **Caddyfile.dev**, i.e. no PHP worker — see [docs/DEMO-FRANKENPHP.md](docs/DEMO-FRANKENPHP.md) and [Installation → FrankenPHP](docs/INSTALLATION.md#frankenphp-runtime-and-worker-mode)) |
41 | 41 |
|
42 | 42 | ## Installation |
@@ -165,13 +165,13 @@ Values are encrypted on persist/update and decrypted on load. For **programmatic |
165 | 165 |
|
166 | 166 | ## Requirements |
167 | 167 |
|
168 | | -- PHP >= 8.1 |
169 | | -- **Symfony 7 or 8** (^7.0 \|\| ^8.0). Current releases of this package require Symfony 7 or 8 (see `composer.json`). |
| 168 | +- PHP >= 8.2 |
| 169 | +- **Symfony 7.4+ or 8** (^7.0 \|\| ^8.0; tested on **7.4**, **8.0**, **8.1**). See `composer.json`. |
170 | 170 | - Doctrine ORM ^2.15 \|\| ^3.0 |
171 | 171 | - paragonie/halite (included); for Defuse: `defuse/php-encryption ^2.1` |
172 | 172 | - ext-sodium recommended for Halite (or sodium_compat) |
173 | 173 |
|
174 | | -See [docs/INSTALLATION.md](docs/INSTALLATION.md#requirements) and [docs/UPGRADING.md](docs/UPGRADING.md) for compatibility notes. |
| 174 | +See [docs/INSTALLATION.md](docs/INSTALLATION.md#requirements) and [docs/UPGRADING.md](docs/UPGRADING.md#upgrading-to-220) for compatibility notes. |
175 | 175 |
|
176 | 176 | ## Demo |
177 | 177 |
|
|
0 commit comments