aeliot/doctrine-encrypted-field
Laravel/Doctrine extension that transparently encrypts and decrypts entity fields. Adds an encrypted field type you can map in your entities so sensitive values are stored encrypted in the database and handled normally in your code.
Use This When:
Look Elsewhere If:
laravel-encryption or tightenco/ziggy instead.For Executives: "This package lets us encrypt sensitive data at the database level—like a vault for specific fields—without hiring crypto experts or overhauling our stack. It’s a lightweight, open-source way to meet compliance needs (e.g., GDPR) while keeping costs low. Think of it as ‘set it and forget it’ encryption for Doctrine-powered apps."
For Engineers:
"If you’re using Doctrine and need to encrypt fields (e.g., user.ssn, order.payment_token) without writing custom crypto logic, this package handles the heavy lifting. It’s a Doctrine event listener that transparently encrypts/decrypts fields—just add the annotation @EncryptedField and go. Perfect for quick wins on security or compliance tickets. Downside: keys must be managed externally (e.g., env vars), and it’s not a drop-in for Eloquent."
For PMs: *"This is a low-risk way to add encryption to your roadmap. Use it for:
How can I help you explore Laravel packages today?