thegiant / algorithms
This packages is useful for data encryption and decryption
Installs: 61
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/thegiant/algorithms
Requires
- php: >=5.5
- browner12/helpers: ^3.3
README
Description
This package is useful for data encryption and decryption
Installation
This package can be installed via composer
composer require thegiant/algorithms
Laravel >= 5.5
The package is auto-discovered on 5.5 and up!
Laravel <= 5.4
Add the service provider to the providers array in your config/app.php file:
'providers' => [ // Other Laravel service providers... /* * Package Service Providers... */ Thegiant\Aes\AesServiceProvider::class, // Other package service providers... ],
Publish Usable Helpers
php artisan vendor:publish --tag=thegiant-aes-helper --force
Note: use
--forceto update the existing files.
Usage
Create Encryption and Dencryption key in .env file with the following Variables
AES_KEY=
AES_IV=
Contributions
Contributions and feedback are welcome! Feel free to open an issue or submit a pull request on GitHub.
License
This package is open-source software licensed under the [MIT] license.