alkhachatryan/encryptable

This package is abandoned and no longer maintained. No replacement package was suggested.

:Laravel package to encrypt / decrypt the database tables / columns

1.4.1 2019-03-03 10:25 UTC

This package is auto-updated.

Last update: 2020-08-30 01:47:45 UTC


README

Latest Version on Packagist Total Downloads

Laravel package to encrypt / decrypt the database tables / columns

Installation

Via Composer

$ composer require alkhachatryan/encryptable

Usage

class User extends Model
{
    use Encryptable;

    /**
     * Fillable columns
     */
    protected $fillable = ['name', 'email', 'password'];

    /**
     * Columns which should be encrypted
     */
    protected $encryptable = ['name', 'email'];
}

Supported Laravel Versions

  • 5.7.*
  • 5.8.*

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.