PHPackages                             alkurn/yii2-firebase - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. alkurn/yii2-firebase

ActiveYii2-extension[File &amp; Storage](/categories/file-storage)

alkurn/yii2-firebase
====================

Yii2 helper for creating and upload file or files

13591PHP

Since Jan 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alkurn/yii2-firebase)[ Packagist](https://packagist.org/packages/alkurn/yii2-firebase)[ RSS](/packages/alkurn-yii2-firebase/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Firebase Helper for Yii2
========================

[](#firebase-helper-for-yii2)

Yii2 helper for creating firebase connection on real time.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

- Either run

```
php composer.phar require --prefer-dist alkurn/yii2-firebase "dev-master"

```

or add

```
"alkurn/yii2-firebase":"dev-master"
```

to the require section of your application's `composer.json` file.

- Add a new component in `components` section of your application's configuration file (optional), for example:

```
'components' => [
    'firebase' => [
            'class' => 'alkurn\firebase\Firebase',
            'credential_file' => 'uploads/firebase-credential.json',
            'database_uri' => 'https://firebase-db.firebaseio.com', // (optional)
        ],
],
```

and in `bootstrap` section, for example:

```
'bootstrap' => ['log','firebase'],
```

It is necessary if you want to set global helper's settings for the application.

Usage
-----

[](#usage)

For example:

```
$db = Yii::$app->firebase->getDatabase();
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/485ae3b1c7496e2d8d100c7c12274e3e7d490afc132ef1b3a2b2a30f10727e1e?d=identicon)[gmankar](/maintainers/gmankar)

### Embed Badge

![Health badge](/badges/alkurn-yii2-firebase/health.svg)

```
[![Health](https://phpackages.com/badges/alkurn-yii2-firebase/health.svg)](https://phpackages.com/packages/alkurn-yii2-firebase)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
