Looking to hire Laravel developers? Try LaraJobs

joth-laravel maintained by octha

Description
Encrypt and decrypt requests and responses data on laravel.
Author
Last update
2024/11/29 12:36 (dev-main)
License
Downloads
8

Comments
comments powered by Disqus

🥨 Joth laravel - Encrypt and decrypt requests and responses data

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.