Popularity
1.8
Growing
Activity
7.7
Declining
71
3
4

Monthly Downloads: 11,976
Programming language: PHP
License: MIT License
Tags: Notifications     Laravel     Monitor     Monitoring     Inspector    
Latest version: v4.6.7

Real-Time monitoring package for Laravel alternatives and similar libraries

Based on the "Notifications" category.
Alternatively, view Real-Time monitoring package for Laravel alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Real-Time monitoring package for Laravel or a related project?

Add another 'Notifications' Library

README

Inspector | Code Execution Monitoring Tool

[Total Downloads](//packagist.org/packages/inspector-apm/inspector-laravel) Latest Stable Version [License](//packagist.org/packages/inspector-apm/inspector-laravel)

Simple code execution monitoring, built for Laravel developers.

Requirements

  • PHP >= 7.2.0
  • Laravel >= 5.5

Install

Install the latest version by:

composer require inspector-apm/inspector-laravel

For Lumen

If your application is based on Lumen you need to manually register the InspectorServiceProvider:

$app->register(\Inspector\Laravel\InspectorServiceProvider::class);

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 web requests you can attach the WebMonitoringMiddleware in your http kernel or use in one or more route groups based on your personal needs.

/**
 * The application's route middleware groups.
 *
 * @var array
 */
protected $middlewareGroups = [
    'web' => [
        ...,
        \Inspector\Laravel\Middleware\WebRequestMonitoring::class,
    ],

    'api' => [
        ...,
        \Inspector\Laravel\Middleware\WebRequestMonitoring::class,
    ]

Test everything is working

Run the command below:

php artisan inspector:test

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

Official documentation

See official documentation

LICENSE

This package is licensed under the [MIT](LICENSE) license.


*Note that all licence references and agreements mentioned in the Real-Time monitoring package for Laravel README section above are relevant to that project's source code only.