PHPackages                             hvent90/api-inspector - 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. hvent90/api-inspector

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

hvent90/api-inspector
=====================

Streams API requests

1.0.6(11y ago)054MITPHP

Since Apr 29Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hvent90/api-inspector)[ Packagist](https://packagist.org/packages/hvent90/api-inspector)[ RSS](/packages/hvent90-api-inspector/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Real time streaming API Inspector for Laravel with Pusher.
==========================================================

[](#real-time-streaming-api-inspector-for-laravel-with-pusher)

---

Table of Contents
-----------------

[](#table-of-contents)

- [In a Nutshell](#in-a-nutshell)
- [Installation](#installation)
- [Default Usage](#default-usage)
- [Configuration](#configuration)
- [Pusher Info](#pusher-info)

In a Nutshell
-------------

[](#in-a-nutshell)

#### - [Install the package](#installation).

[](#--install-the-package)

#### - Navigate with your [browser](http://isp.netscape.com/) to /api/inspect.

[](#--navigate-with-your-browser-to-apiinspect)

#### - You will now see HTTP requests being made to your application in real time. You do not need to refresh the browser.

[](#--you-will-now-see-http-requests-being-made-to-your-application-in-real-time-you-do-not-need-to-refresh-the-browser)

Okay, that was the elevator shpiel. Here is the walkthrough of what is happening:

`Hvent90/ApiInspector/ApiInspectorServiceProvider::boot()` intercepts the `$request` object with `$this->app[‘router’]->before([$this, ‘onBefore’]);`.

`Hvent90/ApiInspector/ApiInspectorServiceProvider::onBefore($request)` takes the `$request` object and, after instantiating `Pusher`, uses Pusher to feed the data directly to `hvent90/api-inspector/src/Http/views/stream.blade.php`.

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

[](#installation)

- Add this package to your Laravel project by typing `composer require hvent90/api-inspector` in your command line.
- Add `'Hvent90\ApiInspector\ApiInspectorServiceProvider'` to the Providers array in `config/app.php`.
- Publish the `views` and `configuration file` for easy modifications by typing `php artisan vendor:publish` in your command line. [What does this do?](#configuration)
- Enter in your Pusher access keys in `config/api-inspector.php`.

Default Usage
-------------

[](#default-usage)

The URI endpoint of `api/inspect` will now load a view that streams all API requests in real time without refreshing the browser. Enjoy!

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

[](#configuration)

You can configure the behavior of ApiInspector via `config/api-inspector.php`.

- `active` accepts either `true` or `false` and will enable or disable ApiInspector
- `public`, `secret`, and `app_id` take your Pusher keys
- `uri` will determine what URI endpoint is associated with the route
- `prefix` will add a prefix to the route
- `subdomain` will add a subdomain to the route
- `middleware` adds middleware to the route

The array called `route-modifiers` is directly injected in to a [route group](http://laravel.com/docs/5.0/routing#route-groups) that governs the API Inspector's route. You can add custom key/value pairs to the route-modifiers array to suite your application's needs.

You can locate and customize the default views found in `resources/views/vendors/hvent90/api-inspector`.

Pusher Info
-----------

[](#pusher-info)

Visit  for more information on the Pusher service. It is quick, easy, and awesome. My implementation of Pusher in this package can be understood through Jeffrey Wayes' (of Laracasts.com) great video tutorial [great video tutorial](https://laracasts.com/lessons/pusher-awesomeness)

###  Health Score

29

—

LowBetter than 58% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~0 days

Total

6

Last Release

4059d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bbaac2ee10aee72723e1d5351388b91a092badb6b41de46be8b061e948c0c39?d=identicon)[hvent90](/maintainers/hvent90)

---

Top Contributors

[![hvent90](https://avatars.githubusercontent.com/u/5974764?v=4)](https://github.com/hvent90 "hvent90 (40 commits)")

---

Tags

httprequestapilaraveldebuginspectioninspectorinspect5

### Embed Badge

![Health badge](/badges/hvent90-api-inspector/health.svg)

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

###  Alternatives

[pusher/pusher-http-laravel

\[DEPRECATED\] A Pusher bridge for Laravel

403509.5k4](/packages/pusher-pusher-http-laravel)[aplus/http-client

Aplus Framework HTTP Client Library

2171.6M1](/packages/aplus-http-client)[vinelab/http

An http library developed for the laravel framework. aliases itself as HttpClient

59301.9k11](/packages/vinelab-http)[wendelladriel/laravel-idempotency

HTTP Idempotency Middleware for Laravel applications

1191.4k](/packages/wendelladriel-laravel-idempotency)[chelout/laravel-http-logger

A Laravel package to log HTTP requests, headers and sessions

262.0k](/packages/chelout-laravel-http-logger)[laragear/api-manager

Manage multiple REST servers to make requests in few lines and fluently.

162.0k](/packages/laragear-api-manager)

PHPackages © 2026

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