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 1mo ago

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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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