koodoo / laravel-trait-encrypt
A Laravel Eloquent Model trait for Encrypting model data
Installs: 13 241
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 1
Type:package
Requires
- php: >=5.5.9
This package is not auto-updated.
Last update: 2024-12-13 20:29:28 UTC
README
A Laravel model trait for Encrypting model data
Installation
"koodoo/laravel-trait-encrypt": "dev-master"
Use
In the model
<?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'
];