koodoo/laravel-trait-encrypt

A Laravel Eloquent Model trait for Encrypting modal data
17,577 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

gregoryduckworth/encryptable

A simple trait to make attributes encrypted in the database

53,837 19
weebly/laravel-mutate

Mutate Laravel attributes

56,599 13
travis-enclave/encryting-model

Adds possibility to encrypt fields in Laravel Eloquent models.

0 0
wwardaww/laravel-id-cryption

A trait for Laravel/Lumen Model id encryption.

37 0