PHP code example of atatus / atatus-octane

1. Go to this page and download the library: Download atatus/atatus-octane library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

atatus / atatus-octane example snippets



// In App/Http/Kernel.php

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

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