New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.
2,406,200 233
Install
composer require inspector-apm/inspector-laravel
Latest Version:5.0.0
PHP:^8.3
Laravel:12 · 13
Older releases:5 – 11
License:MIT
Last Updated:Jul 23, 2026
Links: GitHub  ·  Packagist
Maintainer: valerione

Inspector | Code Execution Monitoring Tool

Total Downloads Latest Stable Version License Contributor Covenant

Before moving on, please consider giving us a GitHub star ⭐️. Thank you!

Code Execution Monitoring for Laravel applications.

Requirements

  • PHP >= 8.3
  • Laravel >= 12.0

Install

Install the latest version by:

composer require inspector-apm/inspector-laravel

Configure the Ingestion Key

First put the Ingestion Key in your environment file:

INSPECTOR_INGESTION_KEY=[ingestion key]

You can obtain an INSPECTOR_INGESTION_KEY creating a new project in your Inspector account.

Attach the Middleware

To monitor HTTP requests you should attach the WebMonitoringMiddleware in your http application route groups.

use \Inspector\Laravel\Middleware\WebRequestMonitoring;

return Application::configure(basePath: dirname(__DIR__))
    ->withMiddleware(function (Middleware $middleware) {
        // Append the middleware
        $middleware->appendToGroup('web', WebRequestMonitoring::class)
            ->appendToGroup('api', WebRequestMonitoring::class);
    })
    ->create();

Test everything is working

Run the command below:

php artisan inspector:test

Go to https://app.inspector.dev to explore your data.

Agentic Integration

You can connect the Inspector library documentation to your coding assistant as a Model Context Protocol (MCP) server.

It makes it easy for tools like Claude Code, Cursor, and VS Code extensions reliably understand what Inspector client library can do, its configurations, how to use it.

AI Assisted Integration

Official documentation

Check out the official documentation

Contributing

We encourage you to contribute to Inspector! Please check out the Contribution Guidelines about how to proceed. Join us!

LICENSE

This package is licensed under the MIT license.

Related Packages

valorin/random

Random is a simple helper package designed to make it easy to generate a range o...

423,305 234
php
cline/variable-keys

Laravel Blueprint macros for variable primary key and morph types

23,466 0
php
cline/struct

Lean, attribute-driven Laravel data objects with explicit validation and Eloquen...

18,346 0
php
cline/toggl

Advanced feature flag management with strategies, time bombs, and groups

12,635 0
php
cline/sequencer

Sequential migration and operation orchestration for Laravel

11,736 0
php

Version History

Version Released PHP Laravel License
5.0.0 ^8.3 ^12.0|^13.0 MIT
4.19.3 ^8.1 ^9.0|^10.0|^11.0|^12.0|^13.0 MIT
4.19.2 ^8.1 ^9.0|^10.0|^11.0|^12.0|^13.0 MIT
4.19.1 ^8.1 ^9.0|^10.0|^11.0|^12.0|^13.0 MIT
4.19.0 ^8.1 ^9.0|^10.0|^11.0|^12.0|^13.0 MIT