tahaghafuri/sugar-cube-client

A sweet Gitea API client for PHP

4.0.0 2023-04-02 11:40 UTC

This package is auto-updated.

Last update: 2024-03-31 13:39:56 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