webimpacto/app4less

PHP App4Less API Push Notification

1.0.0 2018-05-10 11:34 UTC

This package is not auto-updated.

Last update: 2024-04-24 14:07:01 UTC


README

This package makes it easy to send app4less notifications and app4less Utils.

Installation

You can install the package via composer:

composer require webimpacto/app4less

Usage

Send Notifications

Initialice App4less Client

    $client = new \Webimpacto\App4Less\Client('app_user','app_apikey');

Send notifications:

    $client->sendPushNotification(
                    'token',
                    'title'
                    'url',
                    'utm'
                );

Check isApp4Less

    $client = new \Webimpacto\App4Less\Client('app_user','app_apikey');

Get Token App

    $token = \Webimpacto\App4Less\Client::getAppUUID();

Get UUID App

    $uuid = \Webimpacto\App4Less\Client::getAppUUID();