PHPackages                             cognito/fast - 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. cognito/fast

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

cognito/fast
============

Fast login using fast.co

1.1.1(5y ago)01.0kMITPHPPHP &gt;=7.2

Since Nov 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/joshbmarshall/fastco)[ Packagist](https://packagist.org/packages/cognito/fast)[ RSS](/packages/cognito-fast/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Fast Login
==========

[](#fast-login)

This package integrates your custom site with the  login system

Installation
------------

[](#installation)

Installation is very easy with composer:

```
composer require cognito/fast

```

If you don't have composer, download the Fast.php file and include it into your project.

Setup
-----

[](#setup)

First, get an account at  and create an app. It's quick and easy. Get the app key and secret key from the app details.

Integration
-----------

[](#integration)

If you prefer static functions there are two functions to speed up integration.

To render out the login button:

```

```

And to check the login worked on the callback url that fast takes you to:

```
