vjroby/laravel-nonce

This is a package for integrating nonces in Laravel in requests

v1.1.1 2015-09-29 06:27 UTC

This package is not auto-updated.

Last update: 2024-04-24 11:20:04 UTC


README

Build Status #This is a Laravel package for using Nonces for HTTP Requests.

Instalation:

Using Composer, just add

"vjroby/laravel-nonce": "1.1.0"

to your compsoer.json file and run a compposer update

add to app providers:

'Vjroby\LaravelNonce\LaravelNonceServiceProvider'

and to aliases:

'Nonce'			=> 'Vjroby\LaravelNonce\Facades\NonceFacade',

so it can be used as static class in the project.

For creating the table:

php artisan vjroby-laravel-nonce:migrations

It will create 2014_12_18_133440_create_nonce_table migration.php file,

and then:

php artisan migrate

For publishing configuration file:

php artisan config:publish vjroby/laravel-nonce

For integrating with DynamoDB follow the configuration file.