PHPackages                             skizu/simpleapi - 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. skizu/simpleapi

ActiveLibrary[API Development](/categories/api)

skizu/simpleapi
===============

Simple api wrapper with easy caching and throttling

3170[1 PRs](https://github.com/Skizu/SimpleAPI/pulls)PHP

Since Jul 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Skizu/SimpleAPI)[ Packagist](https://packagist.org/packages/skizu/simpleapi)[ RSS](/packages/skizu-simpleapi/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

SimpleAPI for Laravel 4 and 5
=============================

[](#simpleapi-for-laravel-4-and-5)

A simple api wrapper with quick and easy caching and throttling.

### Configuration

[](#configuration)

To configure a new api key you must register it in the .env where in the example `EXAMPLE_KEY` is the key.

```
# Required
EXAMPLE_KEY_API_URL=http://api.example.com/

# Optional
EXAMPLE_KEY_API_THROTTLE_LIMIT=100
EXAMPLE_KEY_API_STORAGE_TIME=1440
EXAMPLE_KEY_API_CACHE_TIME=60
```

### Usage

[](#usage)

Example to resolve

```
$api = new SimpleAPI\RegisterAPI('example_key');

$query = [
	'foo' => 'bar'
];

$result = $api->action('baz')->lookup($query);
```

### Error handling

[](#error-handling)

This library works by throwing exceptions which you would need to catch.

- Invalid configuration `ConfigException`
- Throlled API `ThrottleException`
- Request error `RequestException`
- Response error `ResponseException`
- Server error `ServerException`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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/273cd8eeab256891d22f20a9bf2b078ca282be0cfb474a71ae0288b05c79e434?d=identicon)[Skizu](/maintainers/Skizu)

---

Top Contributors

[![Skizu](https://avatars.githubusercontent.com/u/8308646?v=4)](https://github.com/Skizu "Skizu (1 commits)")

### Embed Badge

![Health badge](/badges/skizu-simpleapi/health.svg)

```
[![Health](https://phpackages.com/badges/skizu-simpleapi/health.svg)](https://phpackages.com/packages/skizu-simpleapi)
```

###  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)
