PHPackages                             atomjoy/google-authenticator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. atomjoy/google-authenticator

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

atomjoy/google-authenticator
============================

Php Google Authenticator library.

v1.0(2y ago)08MITPHPPHP ^8.1

Since Feb 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/atomjoy/google-authenticator)[ Packagist](https://packagist.org/packages/atomjoy/google-authenticator)[ RSS](/packages/atomjoy-google-authenticator/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP Google Authenticator
========================

[](#php-google-authenticator)

2FA two-step verification with php and Google Authenticator in Laravel.

Install
-------

[](#install)

```
composer require atomjoy/google-authenticator
```

GoogleAuthenticator in Laravel
------------------------------

[](#googleauthenticator-in-laravel)

How to generate code from user secret like in GoogleAuthenticator on Android but from php script.

```
