项目作者: alkhachatryan

项目描述 :
Laravel package to encrypt / decrypt the database tables / columns
高级语言: PHP
项目地址: git://github.com/alkhachatryan/laravel-encryptable.git
创建时间: 2018-11-22T12:23:05Z
项目社区:https://github.com/alkhachatryan/laravel-encryptable

开源协议:MIT License

下载


Encryptable

Latest Version on Packagist
Total Downloads

Laravel package to encrypt / decrypt the database tables / columns

Installation

Via Composer

  1. $ composer require alkhachatryan/encryptable

Usage

  1. class User extends Model
  2. {
  3. use Encryptable;
  4. /**
  5. * Fillable columns
  6. */
  7. protected $fillable = ['name', 'email', 'password'];
  8. /**
  9. * Columns which should be encrypted
  10. */
  11. protected $encryptable = ['name', 'email'];
  12. }

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.