carlonicora/minimalism-service-firebase

Firebase service for minimalism

3.0.3 2020-04-05 00:00 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

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

License: MIT