PHPackages                             andrewtweber/proste-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. andrewtweber/proste-sdk

ActiveProject[API Development](/categories/api)

andrewtweber/proste-sdk
=======================

Proste SDK - easy SDK for any RESTful API.

03731PHP

Since Apr 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/andrewtweber/proste-sdk)[ Packagist](https://packagist.org/packages/andrewtweber/proste-sdk)[ RSS](/packages/andrewtweber-proste-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

proste-sdk
==========

[](#proste-sdk)

[![CircleCI](https://camo.githubusercontent.com/b463de4919888c321dde4606a8326e535ded3540f396b9fac6e1f4fd56c1ae87/68747470733a2f2f646c2e636972636c6563692e636f6d2f7374617475732d62616467652f696d672f67682f616e647265777477656265722f70726f7374652d73646b2f747265652f6d61737465722e7376673f7374796c653d736869656c64)](https://dl.circleci.com/status-badge/redirect/gh/andrewtweber/proste-sdk/tree/master)

Easy SDK for any RESTful API

To install simply run

```
$ composer require andrewtweber/proste-sdk

```

Extending
---------

[](#extending)

Proste is an abstract class. In most cases you simply need to extend it, give it a name, and specify the base URL

```
class GitHub extends SDK
{
    public string $name = 'GitHub';

    public string $base_url = 'https://api.github.com/';
}
```

Usage
-----

[](#usage)

All requests will throw an Exception if the HTTP status code returned is not 2\*\*

The responses returned are expected to be JSON and are decoded into an array.

```
$github = new \Proste\GitHub();

try {
    $releases = $github->get('repos/andrewtweber/proste-sdk/releases');

    dd($releases);

    $github->post('repos/andrewtweber/proste-sdk/issues', [
        'title' => 'New Issue',
        'body' => 'Your project is terrible',
    ]);
} catch (\Proste\Exceptions\HttpException $e) {
}
```

Todo
----

[](#todo)

- Make options available on all requests
- Basic authorization trait
- Tests

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6a2ee9924733cc80e400844b165709a7cd55e505beb03db098354f155c27c6b?d=identicon)[andrewtweber](/maintainers/andrewtweber)

---

Top Contributors

[![andrewtweber](https://avatars.githubusercontent.com/u/2760420?v=4)](https://github.com/andrewtweber "andrewtweber (17 commits)")

---

Tags

phprestful-apisdk

### Embed Badge

![Health badge](/badges/andrewtweber-proste-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/andrewtweber-proste-sdk/health.svg)](https://phpackages.com/packages/andrewtweber-proste-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
