9nekra/example-com-client
Composer 安装命令:
composer require 9nekra/example-com-client
包简介
Simple client for example.com service.
README 文档
README
Данный проект представляет клиента для вымышленного сервиса комментариев example.com
Install
Via Composer
$ composer require 9nekra/example-com-client:^0
Usage
Получение комментариев
use Nekra\ExampleComClient\ExampleClientBuilder; $exampleClient = ExampleClientBuilder::create(); $comments = $exampleClient->getComments();
Добавление комментария
use \Nekra\ExampleComClient\Comment; $comment = new Comment(['name' => 'Name 1', 'text' => 'text two']); $exampleClient->postComment($comment);
Изменение комментария
use \Nekra\ExampleComClient\Comment; $comment = new Comment(['id' => 1, 'name' => 'New Name 22','text' => 'text two']); $exampleClient->updateComment($comment);
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email 9nekra@gmail.com instead of using the issue tracker.
Credits
- Alexander
- [All Contributors][link-contributors]
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-19