Download the PHP package abelorosz/twostep without Composer
On this page you can find all versions of the php package abelorosz/twostep. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abelorosz/twostep
More information about abelorosz/twostep
Files in abelorosz/twostep
Package twostep
Short Description Two-step verification library with support for Laravel 4 integration
License MIT
Homepage https://abelorosz.github.io/twostep/
Informations about the package twostep
Two-step verification
Twostep is a PHP version of Google's two-step authentication library. The package includes ServiceProviders and Facades for easy Laravel 4 integration.
Requirements
- PHP >= 5.4
Usage
- Use for generating the secret key
- Use for checking the code
- Use for generating the QR code url
- Use for generating a code (for a given time)
Installation
The best way to install Twostep is quickly and easily with Composer.
Twostep is available via Packagist.
Require the package via Composer in your .
Run Composer to install or update the new requirement.
or
Now you are able to require the vendor/autoload.php file to PSR-0 autoload the library.
Laravel 4 Integration
Twostep has optional support for Laravel 4 and comes with a Service Provider and Facades for easy integration. After you have installed Twostep correctly, just follow the instructions.
Open your Laravel config file and add the following lines.
In the array add the service providers for this package.
Add the facade of this package to the array.
Now Twostep will be auto-loaded by Laravel.
License
Twostep is licensed under the MIT License.
Copyright (c) 2014 Abel Orosz