jdforsythe/elocryptlumen
Encrypted Eloquent attributes for Lumen. Automatically encrypt and decrypt model fields on save and retrieve using Laravel's Crypt facade, keeping sensitive column data unreadable at rest while staying transparent to your application code.
jdforsythe/elocryptlumen adds transparent attribute encryption to Lumen's Eloquent models. Add the trait, declare which attributes to protect, and values are encrypted on save and decrypted on retrieval — no changes needed at the call site.
Configured for Lumen's slim setup, it reads the cipher and key from your config or environment, keeping sensitive columns unreadable at rest while your code continues to work with plain strings.
How can I help you explore Laravel packages today?