Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.42 KB

File metadata and controls

47 lines (29 loc) · 1.42 KB

🥨 Joth laravel - Encrypt and decrypt requests and responses data

License Latest Stable Version Total Downloads

Why use this?

If you need to transit sensitive data you know leaving it in plaintext is not ideal, so using a layer that makes the data more difficult to capture is essential.

Installation

composer require attla/joth-laravel

Configuration

Publish the config file to your config folder.

php artisan vendor:publish --tag=attla/joth-laravel/config

Set a env variable JOTH_KEY with your key.

Usage

This package needs a front-end layer. See the joth jquery.

After includes the front-end layer, set a secret as same defined on your configuration file.

Extra

If you need modify the middlewares, publish them

php artisan vendor:publish --tag=attla/joth-laravel/middlewares

Not is necessary add the middlewares to your routes or on kernel.

License

This package is licensed under the MIT license © Zunq.