Skip to content

Commit

Permalink
simplify installation instructions based on Will's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Apr 26, 2024
1 parent 8007233 commit 2ef7b8e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2ef7b8e

Please sign in to comment.