PHPackages                             ellllllen/api-wrapper - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. ellllllen/api-wrapper

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ellllllen/api-wrapper
=====================

1.0.0(8y ago)074PHPPHP &gt;=7.0

Since May 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ellllllen/api-wrapper)[ Packagist](https://packagist.org/packages/ellllllen/api-wrapper)[ RSS](/packages/ellllllen-api-wrapper/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

API Wrapper
===========

[](#api-wrapper)

An API wrapper for the @guzzle/guzzle package

[![Build Status](https://camo.githubusercontent.com/49dfcf0ef80502ac322f2b15add046b8cc3ed08db84adcd03bc8622573083377/68747470733a2f2f7472617669732d63692e636f6d2f656c6c6c6c6c6c656e2f6170692d777261707065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/ellllllen/api-wrapper)[![codecov](https://camo.githubusercontent.com/b0f301e8f3ba0a16c52ca09813370993c0c45820273f2e86aaf46378749409b0/68747470733a2f2f636f6465636f762e696f2f67682f656c6c6c6c6c6c656e2f6170692d777261707065722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/ellllllen/api-wrapper)

Installation
------------

[](#installation)

`composer require ellllllen/api-wrapper`

### Laravel 5 Implementation

[](#laravel-5-implementation)

1. In `app/config` add the package Service Provider to the providers array: `\Ellllllen\ApiWrapper\ApiWrapperServiceProvider::class`
2. Perform `php artisan vendor:publish` command.
3. Add the configuration for the API you are querying in `config/api-wrapper`

Usage
-----

[](#usage)

### GET request, with no parameters

[](#get-request-with-no-parameters)

```
use Ellllllen\ApiWrapper\Connect;

class HomeController extends Controller
 {
     public function index(Connect $connect)
     {
         $response = $connect->doRequest();

         dump($response);
     }
 }
```

### POST request, with parameters

[](#post-request-with-parameters)

```
use Ellllllen\ApiWrapper\Connect;

class HomeController extends Controller
 {
     public function index(Connect $connect)
     {
         $response = $connect->doRequest('post', ['id' => 123, 'filter' => 'example']);

         dump($response);
     }
 }
```

Future Developments
-------------------

[](#future-developments)

1. Facility to connect to multiple APIs
2. API debugging facilities

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2980d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51796976602846c3cf5d4abbbc3abb4743bfd51ddc29fbfe5b53abfeb983d8db?d=identicon)[ellllllen](/maintainers/ellllllen)

---

Top Contributors

[![ellen-merchant](https://avatars.githubusercontent.com/u/17761025?v=4)](https://github.com/ellen-merchant "ellen-merchant (27 commits)")

---

Tags

api-wrapperguzzleguzzlehttp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ellllllen-api-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/ellllllen-api-wrapper/health.svg)](https://phpackages.com/packages/ellllllen-api-wrapper)
```

###  Alternatives

[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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