Download the PHP package wwardaww/laravel-id-cryption without Composer
On this page you can find all versions of the php package wwardaww/laravel-id-cryption. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wwardaww/laravel-id-cryption
More information about wwardaww/laravel-id-cryption
Files in wwardaww/laravel-id-cryption
Download wwardaww/laravel-id-cryption
More information about wwardaww/laravel-id-cryption
Files in wwardaww/laravel-id-cryption
Vendor wwardaww
Package laravel-id-cryption
Short Description A trait for Laravel/Lumen Model id encryption.
License MIT
Homepage https://github.com/wwardaww/laravel-id-cryption
Package laravel-id-cryption
Short Description A trait for Laravel/Lumen Model id encryption.
License MIT
Homepage https://github.com/wwardaww/laravel-id-cryption
Please rate this library. Is it a good library?
Informations about the package laravel-id-cryption
Laravel Id Cryption
This Trait Encrypt Your Data (from database or somewhere) or, Decrypt Your data (from client or somewhere) and it doesn't effect your real data (from data source).
Based on samwhisker/laravel-trait-encrypt
Installing
composer require wwardaww/laravel-id-cryption
Note : APP_KEY must not be empty in your .env
file.
In Your Model File
-
Use Trait :
- Add your Encryptable columns and Hidden functions :
Usage
Example Table on Your Data Source
ID | Name |
---|---|
5 | Ahmet Oğuz |
Get Object Whit Encrypted Id
Get Encrypted Data
-
Result Will be :
- If You don't Convert to Array, Result Will be :
Disable Encryption Specific Function
- You Should Add Your Function to $hiddenFunctions in Your Model File
- When You Call Your Model in This Function , Result will be :
Call
Result
All versions of laravel-id-cryption with dependencies
PHP Build Version
Package Version
No informations.
The package wwardaww/laravel-id-cryption contains the following files
Loading the files please wait ....