PHPackages                             nathanfeitoza/firebase-tokens-php-5.6 - 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. nathanfeitoza/firebase-tokens-php-5.6

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

nathanfeitoza/firebase-tokens-php-5.6
=====================================

A library to work with Firebase tokens

1.9.1(6y ago)14.3k↓100%11MITPHP

Since Sep 12Pushed 6y agoCompare

[ Source](https://github.com/nathanfeitoza/firebase-tokens-php-5.6)[ Packagist](https://packagist.org/packages/nathanfeitoza/firebase-tokens-php-5.6)[ Docs](https://github.com/kreait/firebase-token-php)[ RSS](/packages/nathanfeitoza-firebase-tokens-php-56/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (2)Used By (1)

Firebase Tokens
===============

[](#firebase-tokens)

A library to work with [Google Firebase](https://firebase.google.com) tokens. You can use it to [create custom tokens](https://firebase.google.com/docs/auth/admin/create-custom-tokens) and [verify ID Tokens](https://firebase.google.com/docs/auth/admin/verify-id-tokens).

Achieve more with the [Firebase Admin SDK](https://github.com/nathanfeitoza/firebase-tokens-php-5.6) for PHP 5.6 (which uses this library).

[![Current version](https://camo.githubusercontent.com/e596d322c76d4ccb9c7e5d1eb9a94814701c56781d65fe56b4bf9f49f1aa245d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e617468616e666569746f7a612f66697265626173652d746f6b656e732d7068702d352e362e737667)](https://packagist.org/packages/nathanfeitoza/firebase-tokens-php-5.6)![Supported PHP version](https://camo.githubusercontent.com/c3bea7bebba9fc8c455879b5e1fecec685db049fd5d9a57971d20eb274982427/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e617468616e666569746f7a612f66697265626173652d746f6b656e732d7068702d352e362e737667)[![Monthly Downloads](https://camo.githubusercontent.com/aaaa0bfd36c28b6f347bd23a36cd5f1ea2a4f067d66436e552b89465ec65ed60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e617468616e666569746f7a612f66697265626173652d746f6b656e732d7068702d352e362e737667)](https://packagist.org/packages/nathanfeitoza/firebase-tokens-php-5.6/stats)[![Total Downloads](https://camo.githubusercontent.com/2b922ad7c5799f0a740eccf4e60899f0269f65835f83d0e8fc1ed96886ff936b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e617468616e666569746f7a612f66697265626173652d746f6b656e732d7068702d352e362e737667)](https://packagist.org/packages/nathanfeitoza/firebase-tokens-php-5.6/stats)

[![Build Status](https://camo.githubusercontent.com/ea7cad7a6ab3cf9a290ded79a5d7c3d4c58dc84073764b01c1c5b4178cc691ad/68747470733a2f2f7472617669732d63692e6f72672f6e617468616e666569746f7a612f66697265626173652d746f6b656e732d7068702d352e362e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nathanfeitoza/firebase-tokens-php-5.6)

- [Installation](#installation)
- [Simple Usage](#simple-usage)
    - [Create a custom token](#create-a-custom-token)
    - [Verify an ID token](#verify-an-id-token)
    - [Tokens](#tokens)
- [Advanced Usage](#advanced-usage)
    - [Cache results from the Google Secure Token Store](#cache-results-from-the-google-secure-token-store)

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

[](#installation)

```
composer require nathanfeitoza/firebase-tokens-php-5.6
```

Simple usage
------------

[](#simple-usage)

### Create a custom token

[](#create-a-custom-token)

```
