This package adds the encryptable trait to your laravel model which automatically encrypts and decrypts them when communicating with the database.
First, make sure you have the Code Orange package registry set up correctly.
composer require code-orange/encryptable
Add a protected $encrypted trait to your laravel model. I.E:
protected $encryptable = [
'first_name', 'last_name', 'country', 'zipcode', 'housenumber', 'street', 'city', 'phone', 'email',
];