vjroby/laravel-nonce

This is a package for integrating nonces in Laravel in requests
42,757 3
Install
composer require vjroby/laravel-nonce
Latest Version:v1.1.1
PHP:>=5.4.0
License:MIT
Last Updated:Jan 20, 2016
Links: GitHub  ·  Packagist
Maintainer: vjroby

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.