carlonicora / minimalism-service-firebase
Firebase service for minimalism
Requires
- php: >=8.1
- ext-curl: *
- ext-json: *
- carlonicora/minimalism: ~13.0
- kreait/firebase-php: ~6.1
This package is auto-updated.
Last update: 2024-12-29 06:41:26 UTC
README
minimalism-service-firebase is a service for minimalism to send push notifications via firebase.
Getting Started
To use this library, you need to have an application using minimalism. This library does not work outside this scope.
Prerequisite
You should have read the minimalism documentation and understand the concepts of services in the framework.
Encrypter requires either the cURL extension in order to work.
Installing
Require this package, with Composer, in the root directory of your project.
$ composer require carlonicora/minimalism-service-firebase
or simply add the requirement in composer.json
{ "require": { "carlonicora/minimalism-service-firebase": "~1.0" } }
Deployment
This service requires you to set up two parameters in your .env
file in order to connect to firebase:
Required parameters
#your private authorisation key MINIMALISM_SERVICES_FIREBASE_KEY=
Optional parameters
#the url used to call the firebase service - default to https://fcm.googleapis.com/fcm/send MINIMALISM_SERVICES_FIREBASE_URL=
Build With
- minimalism - minimal modular PHP MVC framework
Versioning
This project use Semantiv Versioning for its tags.
Authors
License
This project is licensed under the MIT license - see the LICENSE.md file for details