Generating a secure encryption key for a custom Eloquent model cast
Yesterday, I posted a tip on Twitter about using a custom Eloquent attribute cast to handle encryption. Doing this, allows you to use a custom key per model, which can increase the security of your...
Using a Custom Key for Encrypted Cast Model Attributes in Laravel
Laravel allows you to cast model attributes as encrypted strings, when stored in the database. This gives you added security for any values that are sensitive.