Download the PHP package chr15k/laravel-mysql-encrypt without Composer
On this page you can find all versions of the php package chr15k/laravel-mysql-encrypt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-mysql-encrypt
Laravel MySql AES Encrypt/Decrypt
Laravel MySQL encryption using native MySQL AES_DECRYPT and AES_ENCRYPT functions. Automatically encrypt and decrypt fields in your Models.
Install
1. Composer
2. Publish config
3. AES Key generation
Add to .env file:
Generate a new secure AES key (or add your existing key manually):
Update Models
Validators
UniqueEncrypted(table, field(optional), ignore_id(optional))
ExistsEncrypted(table, field(optional))
Scopes
Custom Local scopes available:
whereEncrypted
whereNotEncrypted
orWhereEncrypted
orWhereNotEncrypted
orderByEncrypted
Global scope DecryptSelectScope
automatically booted in models using Encryptable
trait.
Schema columns to support encrypted data
Example Usage
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-mysql-encrypt with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0
The package chr15k/laravel-mysql-encrypt contains the following files
Loading the files please wait ....