Looking to hire Laravel developers? Try LaraJobs

laravel-sodium-encryption maintained by stidges

Description
A Sodium based encrypter class for Laravel
Author
Last update
2019/05/29 16:04 (dev-master)
License
Downloads
54

Comments
comments powered by Disqus

Laravel Sodium Encryption

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

A Sodium based Encrypter class for Laravel, with the same API as the built-in Encrypter class.

Install

You can install the package via Composer:

$ composer require stidges/laravel-sodium-encryption

The service provider is registered through auto-discovery, so you can start using it out of the box!

Usage

You can resolve the Encrypter class from Laravel's service container:

use Stidges\LaravelSodiumEncryption\Encrypter;

$encrypter = app(Encrypter::class);
// or
$encrypter = app('encrypter.sodium');

The API is the same as Laravel's built-in Encrypter class, so please review the official Laravel documentation on how to use it.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email info@stidges.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.