Skip to content

Maatify/huawei-hms-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Current version Packagist PHP Version Support Monthly Downloads Total Downloads Stars

HuaweiHmsCore

maatify.dev HuaweiHmsCore Handler, known by our team

Installation

composer require maatify/huawei-hms-core

Important

<?php

use Maatify\HMS\HMSCoreRequest;

/**
 * Created by Maatify.dev
 * User: Maatify.dev
 * Date: 2024-04-29
 * Time: 11:19 AM
 * https://www.Maatify.dev
 */
class HMSConnector extends HMSCoreRequest
{
    protected string $APP_ID_FROM_CONSOLE = __APP_ID_FROM_CONSOLE__;

    protected string|int $client_id = __client_id__;

    protected string $client_credentials = __client_credentials__;

    public function CallHMSByToken(string $title, string $message, string $token)
    {
        return $this
            ->SetTitle($title)
            ->SetMessage($message)
            ->SetTokens([$token])
            ->Load();
    }

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages