
# Firebase Admin SDK for PHP

Interact with [Google Firebase](https://firebase.google.com) from your PHP application.

[![Current version](https://img.shields.io/packagist/v/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php)
[![Supported PHP version](https://img.shields.io/packagist/php-v/kreait/firebase-php.svg)]()
[![Monthly Downloads](https://img.shields.io/packagist/dm/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php/stats)
[![Total Downloads](https://img.shields.io/packagist/dt/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php/stats)
[![Discord](https://img.shields.io/discord/523866370778333184.svg?color=7289da&logo=discord)](https://discord.gg/nbgVfty)

[![Tests](https://github.com/kreait/firebase-php/workflows/Tests/badge.svg?branch=master)](https://github.com/kreait/firebase-php/actions)
[![codecov](https://codecov.io/gh/kreait/firebase-php/branch/master/graph/badge.svg)](https://codecov.io/gh/kreait/firebase-php)
<!--
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=kreait_firebase-php&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=kreait_firebase-php)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=kreait_firebase-php&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=kreait_firebase-php)
[![Code Coverage](https://sonarcloud.io/api/project_badges/measure?project=kreait_firebase-php&metric=coverage)](https://sonarcloud.io/dashboard?id=kreait_firebase-php)
-->

## Resources

- [Documentation](https://firebase-php.readthedocs.io/)
- Integrations
  - [Laravel](https://github.com/kreait/laravel-firebase)
  - [Symfony](https://github.com/kreait/firebase-bundle)
- [Example project](https://github.com/jeromegamez/firebase-php-examples)
- [Tutorials](https://firebase-php.readthedocs.io/en/latest/tutorials.html)
- Support
  - [Issue Tracker](https://github.com/kreait/firebase-php/issues/)
  - [Discord Chat](https://discord.gg/nbgVfty)
  - [Stack Overflow](https://stackoverflow.com/questions/tagged/firebase+php)
- 3rd Party Packages
  - [tatter/firebase](https://github.com/tattersoftware/codeigniter4-firebase): Integration for CodeIgniter 4 

## Components

| Feature | |
| --- | :---: |
| [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/admin/) | ✅ |				
| [Cloud Firestore](https://firebase.google.com/docs/firestore) | ✅ |
| [Cloud Storage](https://firebase.google.com/docs/storage/admin/start) | ✅ |
| [Custom Token Minting](https://firebase.google.com/docs/auth/admin/create-custom-tokens) | ✅ |
| [Dynamic Links](https://firebase.google.com/docs/dynamic-links/rest) | ✅ |
| [Dynamic Link Analytics](https://firebase.google.com/docs/dynamic-links/analytics) | ✅ |
| [ID Token Verification](https://firebase.google.com/docs/auth/admin/verify-id-tokens)	| ✅ |
| [Realtime Database](https://firebase.google.com/docs/database/admin/start) | ✅ |
| [Remote Config](https://firebase.google.com/docs/remote-config/) | ✅ |
| [User Management](https://firebase.google.com/docs/auth/admin/manage-users) | ✅ |

## Versions

| Version | Status      | PHP Version | Support |
|---------|-------------|-------------|---------|
| 1.x     | EOL         | >= 5.5      | EOL     |
| 2.x     | EOL         | >= 7.0      | EOL     |
| 3.x     | EOL         | >= 7.0      | EOL     |
| 4.x     | Latest      | >= 7.0      | active  |

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.
