You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started.md
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,18 +7,10 @@ title: Getting Started
7
7
8
8
The best way of making use of this project is by installing it with [composer](https://getcomposer.org/doc/01-basic-usage.md).
9
9
10
-
```
11
-
php composer.phar require robthree/twofactorauth
12
-
```
13
-
14
-
or if you have composer installed globally
15
-
16
10
```
17
11
composer require robthree/twofactorauth
18
12
```
19
13
20
-
**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).
21
-
22
14
## 2. Create an instance
23
15
24
16
`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.
0 commit comments