philetaylor/doctrine-encrypt
Transparent field-level encryption for Doctrine entities in Laravel, letting you store sensitive columns encrypted at rest and decrypt them automatically through a custom DBAL type.
Architecture fit
laravel-doctrine/orm) or confining it to a Doctrine-based service. Both add architectural surface area disproportionate to the benefit.Integration feasibility
Technical risk
Key questions
Stack fit
encrypted cast covers the common case with zero new dependencies and first-party support. For searchable encryption, paragonie/ciphersweet is maintained and audited. For broad coverage, disk/DB-level encryption (pgcrypto, TDE) or a KMS envelope pattern is preferable to per-field application crypto.Migration path
Compatibility
Sequencing
encrypted cast, CipherSweet, DB/KMS-native — with a working encrypt/decrypt/rotate test on real schema.Maintenance
Support
Scaling
Failure modes
Ramp-up
Recommendation: Do not adopt. Classify as rejected — unmaintained, self-declared WIP, security-sensitive, and architecturally misaligned with Laravel. Redirect the effort to a maintained alternative selected against a written encryption requirement.
How can I help you explore Laravel packages today?