Looking to hire Laravel developers? Try LaraJobs

ultimate-laravel maintained by ultimate-apm

Description
Monitoring package
Author
Last update
2023/03/22 08:21 (dev-main)
License
Links
Downloads
68

Comments
comments powered by Disqus

Real-Time monitoring package using Palzin Monitor

Latest Stable Version Total Downloads License

Simple code execution monitoring and bug reporting for Laravel developers.

Requirements

  • PHP >= 7.2.0
  • Laravel >= 5.5

Install

Install the latest version of our package by:

composer require ultimate-apm/ultimate-laravel

For Lumen

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

$app->register(\Ultimate\Laravel\UltimateServiceProvider::class);

Configure the Ingestion Key

First put the Ingestion Key in your environment file:

ULTIMATE_INGESTION_KEY=[your ingestion key]

You can obtain an ULTIMATE_INGESTION_KEY creating a new project in your Palzin APM 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' => [
        ...,
        \Ultimate\Laravel\Middleware\WebRequestMonitoring::class,
    ],

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

Test everything is working

Run the command below:

php artisan ultimate:test

Go to https://www.palzin.app/ to explore your data.

LICENSE

This package is licensed under the MIT license.