Skip to content

Releases: fcorz/hyperf-firebase

v2.0.1 - Fix ApplicationProxy constructor initialization order

Choose a tag to compare

@fcorz fcorz released this 13 Jan 11:31
a646319

What's Changed

Bug Fixes

  • Fix ApplicationProxy constructor initialization order - The $this->name property was being set after calling parent::__construct(), which caused the parent constructor to always use the default value 'app' instead of the passed $name parameter. This fix ensures the correct Firebase project configuration is loaded when using ApplicationProxy with a custom project name.

Details

The parent Application constructor uses $this->name to build the configuration path (firebase.projects.{$name}). Previously, the initialization order was:

// Before (incorrect)
parent::__construct($container); // Uses $this->name = 'app'
$this->name = $name; // Too late!Now fixed to:

// After (correct)
$this->name = $name; // Set first
parent::__construct($container); // Uses correct $name## Upgrade

This is a patch release with no breaking changes. Simply update your dependency:

composer update fcorz/hyperf-firebaseFull Changelog: v2.0.0...v2.0.1

v2.0.0

Choose a tag to compare

@fcorz fcorz released this 01 Feb 07:41

Initial Release - Version 2.0.0

We are excited to announce the initial release of our Firebase component package for the Hyperf framework! This package aims to provide seamless integration with Firebase services, enabling developers to easily incorporate powerful features into their Hyperf applications.

Project Overview

Our Firebase component package offers a comprehensive set of functionalities, including:

  • Authentication: Seamless integration with Firebase Authentication for secure user authentication and management.
  • Realtime Database: Utilize Firebase Realtime Database to store and sync data in real time, facilitating dynamic content updates.
  • Cloud Messaging: Leverage Firebase Cloud Messaging to send notifications and engage users across platforms.
  • Storage: Effortlessly integrate Firebase Storage for secure and scalable file uploads and downloads.

Key Features

  • Simple Integration: Easily configure and integrate Firebase services within your Hyperf applications.
  • Robust Functionality: Access a wide range of Firebase features to enhance user experience and application capabilities.
  • Scalability: Harness the power of Firebase's cloud infrastructure to support applications of any scale.