Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atatus Laravel Octane Middleware

The Atatus Laravel Octane Middleware enables the automatic instrumentation of API requests, capturing them and sending data to Atatus for analysis.

Requirements

  • PHP >= 7.2.0
  • Laravel >= 5.5

How to install

Via Composer

composer require atatus/atatus-octane

or add atatus/atatus-octane to your composer.json file accordingly.

How to use

Add to Middleware

To monitor web requests, you can attach the WebRequestMonitoring middleware within the web and api middleware groups in the App/Http/Kernel.php file as shown below:

// In App/Http/Kernel.php

protected $middlewareGroups = [
    'web' => [
        ...,
        \Atatus\Laravel\Octane\Middleware\WebRequestMonitoring::class,
    ],

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

LICENSE

This package is licensed under the MIT license.

About

Atatus APM for Laravel Octane

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages