austinheap/laravel-database-encryption
ssn but not email_hash).pgcrypto or AWS KMS).openssl).For Executives: "This package lets us encrypt sensitive customer data automatically in our Laravel app—like a turnkey compliance shield. For example, if we’re storing health records or payment details, we can protect them at rest with minimal dev effort. It’s like adding a deadbolt to our database without rewriting the whole house. The trade-off? A slight slowdown for encrypted fields (we’ll test this), but the risk reduction is worth it for [GDPR/HIPAA/PCI] compliance. It’s also cheaper than custom dev or third-party tools."
For Engineering: *"This solves our encryption pain points by:
encrypt() calls in models.config/database-encryption.php (e.g., ssn, credit_card)..env.$encrypted = true to your model’s `$casts array.
Downsides: Last updated in 2019 (we’ll monitor for forks or alternatives), and it’s not actively maintained—but it’s battle-tested and MIT-licensed. I recommend we:*encryption config for key rotation.How can I help you explore Laravel packages today?