承接 snider/php-notify-my-android 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

snider/php-notify-my-android

最新稳定版本:v2.0.1

Composer 安装命令:

composer require snider/php-notify-my-android

包简介

PHP library for NotifyMyAndroid.com which does not require cURL

README 文档

README

SensioLabsInsight

snider/php-notify-my-android

This is a PHP library for NotifyMyAndroid.com that does not require curl.

If you find a bug, or think of an improvement, please fork the repository and submit a pull request.

I have had a nexus 5 since it came out and am now actually using the lib. If I find any improvements, I can test them myself. :) Yay!

Usage

A basic approach at using this package could look like this:

<?php
namespace snider\NotifyMyAndroid;

require_once realpath(__DIR__ . '/vendor') . '/autoload.php';

$apiKey      = 'insertYourApiKeyHere';
$application = 'snider/php-notify-my-android';
$event       = 'Sample Event';
$description = 'This is a sample event notification.';

$nma = new Api(array('apikey' => $apiKey));
if ($nma->verify()) {
    if ($nma->notify($application, $event, $description)) {
        echo 'Notification sent';
    }
}

Use the included sample.php to try it for yourself.

License

See LICENSE.txt for full license details.

统计信息

  • 总下载量: 59
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 14
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 4
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-08-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固