2017 © Pedro Peláez
 

library leanchat

image

jiemo/leanchat

  • Wednesday, January 4, 2017
  • by congpeijun
  • Repository
  • 4 Watchers
  • 1 Stars
  • 240 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

灵信api客户端

<?php
use Jiemo\LeanChat\Client;
use Jiemo\LeanChat\Message\Attachment;
use Jiemo\LeanChat\Message\Body;

$body = new Body();
$body->title = '@所有人  测试' ;
$body->channel = '#test';
$body->displayUserName = 'test';
$body->displayUserAvatarUrl = 'http://example.com/t.png';
$attachment = new Attachment();
$attachment->color = Attachment::COLOR_WARNING;
$attachment->title = 'test'; 
$attachment->description = 'tset';
$body->addAttachment($attachment);
$client = new Client('http://xxx');
$client->send($body);
php bin/leanchat.php

The Versions

04/01 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

04/01 2017

2.1

2.1.0.0

  Sources   Download

MIT

The Requires

 

04/01 2017

2.0

2.0.0.0

  Sources   Download

MIT

The Requires

 

11/10 2016

1.0

1.0.0.0

  Sources   Download

MIT

The Requires