tahaghafuri / sugar-cube-client
A sweet Gitea API client for PHP
4.0.0
2023-04-02 11:40 UTC
Requires
- php: *
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: *
- myclabs/php-enum: *
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-01 00:15:01 UTC
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