koodoo / laravel-trait-encrypt
A Laravel Eloquent Model trait for Encrypting model data
Installs: 12 873
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-11-15 20:06:06 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'
];