simpleapisecurity / laravel
Drop in replacement for the Laravel hash and encryption mechanisms.
Requires
- php: >=5.5.9
- ext-libsodium: *
- illuminate/contracts: 5.1.*|5.2.*
- illuminate/encryption: 5.1.*|5.2.*
- simpleapisecurity/php: dev-master
Requires (Dev)
- nesbot/carbon: ~1.14
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-12-07 20:33:20 UTC
README
This library is meant to be a fairly expansive encryption replacement to Laravel's built in methods. The goals is that by default it will replace the encryption and the hashing mechanisms of Laravel with compatible methods powered by Simple API Security.
How to Install
First thing you need to do is install the components you want to replace in Laravel in your app.cfg
file from your config directory.
Simple API Security Encrypter Install
In app.cfg
replace Illuminate\Encryption\EncryptionServiceProvider::class
with SimpleAPISecurity\Laravel\Providers\EncryptionProvider::class
.
Simple API Security Hasher Install
In app.cfg
replace Illuminate\Hashing\HashServiceProvider::class
with SimpleAPISecurity\Laravel\Providers\HashProvider::class
.