A Laravel Eloquent Model trait for Encrypting model data
A Laravel model trait for Encrypting model data, (*1)
"koodoo/laravel-trait-encrypt": "dev-master"
In the model, (*2)
<?php use Koodoo\laravelTraitEncrypt\Encryptable; use Encryptable; protected $encryptable = [ 'table_field_to_be_encrypted', 'table_field_to_be_encrypted', 'table_field_to_be_encrypted', 'table_field_to_be_encrypted' ];
Sources Download
MIT
laravel eloquent encrypt