simplify installation instructions based on Will's comment

This commit is contained in:
Nicolas CARPi
2024-04-26 18:45:08 +02:00
parent 8007233058
commit 2ef7b8e2c6
-8
View File
@@ -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.