Download the PHP package smakecloud/laravel-sodium without Composer
On this page you can find all versions of the php package smakecloud/laravel-sodium. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smakecloud/laravel-sodium
More information about smakecloud/laravel-sodium
Files in smakecloud/laravel-sodium
Package laravel-sodium
Short Description Laravel libsodium
License MIT
Homepage https://github.com/smakecloud/laravel-sodium
Informations about the package laravel-sodium
Laravel Sodium
Uses PHP's Sodium extension to encrypt, decrypt, sign and verify data.
Note Package name was chosen for discoverability. It is not affiliated with Laravel.
Supported encryption ciphers are:
Supported signing algorithms are:
Signing KeyPair is generated using app.key
for seeding.
Warning This package overrides Laravel's Encrypter class!
You will lose support for the following ciphers:
- AES-128-CBC
- AES-256-CBC
- AES-128-GCM
Table of Contents
- Requirements
- Installation
- Usage
- Development
- Testing
- Coverage
- Static analysis
- Code style
- Disclaimer
- License
Requirements
- PHP 8.1+
- Sodium extension ( obviously )
Installation
You can install the package via composer:
This package uses Laravel's auto-discovery feature. After you install it the package provider and facade are available immediately.
Usage
This package overrides Laravel's Encrypter class. You can use it as you would use the default Encrypter class.
You can change the default cipher in:
config/app.php
Development
Testing
Coverage
Static analysis
Code style
Disclaimer
This package is not affiliated with Laravel in any way.
Read the documentation of PHPs sodium extension before using this package !
We don't take any responsibility for any damage caused by this package.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sodium with dependencies
ext-sodium Version ^8.1
illuminate/support Version ^8.0|^9.0|^10.0
laravel/framework Version ^8.0|^9.0|^10.0