PHPackages                             reedware/laravel-api - 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. reedware/laravel-api

ActiveLibrary[API Development](/categories/api)

reedware/laravel-api
====================

Adds configurable web api connections to your Laravel application.

v1.1.0(5y ago)05003[1 PRs](https://github.com/tylernathanreed/laravel-api/pulls)MITPHPPHP &gt;=7.1

Since Sep 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/tylernathanreed/laravel-api)[ Packagist](https://packagist.org/packages/reedware/laravel-api)[ RSS](/packages/reedware-laravel-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Laravel API
-----------

[](#laravel-api)

This package adds configurable web api connections to your Laravel application.

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

[](#installation)

Require this package with composer.

```
composer require reedware/laravel-api
```

Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the service provider or facade. However, should you still need to reference them, here are their class paths:

```
\Reedware\LaravelApi\ApiServiceProvider::class // Service Provider
\Reedware\LaravelApi\Facade::class // Facade
```

Configuration
-------------

[](#configuration)

You can configure your various api endpoints by using the `~/config/api.php` configuration file.

```
'connections' => [

    'api-name' => [
        'host' => env('API_HOST'),
        'username' => env('API_USERNAME'),
        'password' => env('API_PASSWORD'),
        'options' => [
            'json' => true,
            'expects_json' => true
        ]
    ]

]

```

Usage
-----

[](#usage)

You can now connect to your api using `Api::connection('api-name')`, and subsequently create requests for it:

```
Api::connection('api-name')->request()->url('my/endpoint')->post([
    'my-form-data' => 'with-values'
]);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% 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

Every ~73 days

Recently: every ~79 days

Total

6

Last Release

2120d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.9

v1.1.0PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6486381?v=4)[Tyler](/maintainers/tylernathanreed)[@tylernathanreed](https://github.com/tylernathanreed)

---

Top Contributors

[![tylernathanreed](https://avatars.githubusercontent.com/u/6486381?v=4)](https://github.com/tylernathanreed "tylernathanreed (10 commits)")[![tnguyen-tsi](https://avatars.githubusercontent.com/u/69207211?v=4)](https://github.com/tnguyen-tsi "tnguyen-tsi (7 commits)")

---

Tags

apilaravelConnection

### Embed Badge

![Health badge](/badges/reedware-laravel-api/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.3k3](/packages/defstudio-telegraph)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)

PHPackages © 2026

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