<?phprequire_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
adityadarma / laravel-database-cryptable example snippets
useAdityaDarma\LaravelDatabaseCryptable\Traits\CryptableAttribute;
classUserextendsEloquent{
useCryptableAttribute;
/**
* The attributes that should be encrypted on save.
*
* @var array
*/protected $encryptable = [
'first_name', 'last_name'
];
}