sitelease/sugar-cube-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sitelease/sugar-cube-client

Composer 安装命令:

composer require sitelease/sugar-cube-client

包简介

A sweet Gitea API client for PHP

README 文档

README

The Sugar Cube Client allows you to send and recieve data from Gitea's RESTful API using object-oriented PHP.

How does it work?

Under the hood, Sugar Cube uses the Guzzle Library to make and send requests to Gitea's RESTful API routes. It then converts the returned JSON response data into PHP objects which you can use to easily query the data.

Real world Example

To see how Sugar Cube can be used in a real world application please refer to Acapella's code base (e.g. line 39 of GiteaRepositoryManager.php).

What's next?

  • Add Example code to the README
  • Create PHPUnit tests for each API requester
  • Create more API requesters for Gitea's API routes
  • Submit the Sugar Cube composer package to Packagist

Credits

  • First thank you goes out to the folks over on the Gitea.php project. Your Model and Push Event objects provided the foundation of this project.
  • Next thank you goes to those who worked on CompoLab. It was during the process of porting your great project to Gitea that we made this client.
  • And last but not least, a big shout out to everyone who has contributed to Gitea. Without your project there wouldn't be any API to make the client for ;)

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固