koodoo/laravel-trait-encrypt

A Laravel Eloquent Model trait for Encrypting modal data
17,706 3
Install
composer require koodoo/laravel-trait-encrypt
PHP:>=5.5.9
License:MIT
Last Updated:May 18, 2018
Links: GitHub  ·  Packagist
Maintainer: samWhisker

laravel-trait-encrypt

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'
];

Related Packages

weebly/laravel-mutate

Mutate Laravel attributes

58,066 13
jdforsythe/elocryptlumen

Automatically encrypt and decrypt Eloquent attributes with ease.

1,642 1
gregoryduckworth/encryptable

A simple trait to make attributes encrypted in the database

54,594 19
wwardaww/laravel-id-cryption

A trait for Laravel/Lumen Model id encryption.

37 0