承接 gitodin/php-client 相关项目开发

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

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

gitodin/php-client

最新稳定版本:1.0.2

Composer 安装命令:

composer require gitodin/php-client

包简介

GitOdin PHP Package

README 文档

README

This is a package made for PHP, to interact with the GitOdin RESTful API Network Access Point to send payloads through the network to your client side in real-time!

Getting Started

Installing using Composer

composer require gitodin/php-client

How to use:

Load the Package using Composer

require_once("../vendor/autoload.php"); // Composer Method, Loading by PSR4
use GitOdin\GitOdin;

Load the Package not using Composer (Downloaded from GitHub)

require_once("../src/GitOdin_load.php"); // Manual Load, no PSR4 Autoload
use GitOdin\GitOdin;

This will send an Payload to a Specific channel on the specified event.

$GitOdin = GitOdin::summon('*', 'Server', 'Auth Gateway');

$express_response = $GitOdin->send(new Event(
  "channelName",
  "eventName",
  "someData"
));
echo $express_response;

For more Examples check out the /examples folder.

Indepth Documentation

Documentation for GitOdin.com can be found at https://GitOdin.com/documentation

Contributors

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-08-11