mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-17 11:23:53 +00:00
simplify installation instructions based on Will's comment
This commit is contained in:
@@ -7,18 +7,10 @@ title: Getting Started
|
||||
|
||||
The best way of making use of this project is by installing it with [composer](https://getcomposer.org/doc/01-basic-usage.md).
|
||||
|
||||
```
|
||||
php composer.phar require robthree/twofactorauth
|
||||
```
|
||||
|
||||
or if you have composer installed globally
|
||||
|
||||
```
|
||||
composer require robthree/twofactorauth
|
||||
```
|
||||
|
||||
**Note:** If you are not using a composer-aware framework, you should [include the composer loader yourself](https://getcomposer.org/doc/01-basic-usage.md#autoloading).
|
||||
|
||||
## 2. Create an instance
|
||||
|
||||
`TwoFactorAuth` constructor requires an object able to provide a QR Code image. It is the only mandatory argument. This lets you select your preferred QR Code generator/library.
|
||||
|
||||
Reference in New Issue
Block a user