Best laravel framework open-source packages.

Laravel encryptable

Laravel package to encrypt / decrypt the database tables / columns
Updated 1 year ago

Encryptable

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.