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.
composer require attla/joth-laravel
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.
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.
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.
This package is licensed under the MIT license © Zunq.