GithubHelp home page GithubHelp logo

lukeabell / laravel-octane-middleware Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tideways/laravel-octane-middleware

0.0 0.0 0.0 7 KB

A Tideways Middleware for Laravel Octane

License: MIT License

PHP 100.00%

laravel-octane-middleware's Introduction

Tideways Middleware for Laravel Octane

This package connects a Laravel Octance application with Tideways for PHP Monitoring, Profiling and Exception Tracking.

It provides a Laravel HTTP middleware that starts Tideways based on the Laravel Request object state.

Installation

You can install the package via composer:

composer require tideways/laravel-octane-middleware

Usage

Register the Middleware in your Laravel Middleware stack:

class Kernel extends HttpKernel
{
    protected $middleware = [
        \Tideways\LaravelOctane\OctaneMiddleware::class,
        // ...
    ];

    // ...
}

Install Tideways PHP extension for PHP 8 and configure the API Key via php.ini or additional configuration files tideways.ini:

tideways.api_key=abcdefg

More details on how to install and get the API Key in the Tideways docs:

https://support.tideways.com/documentation/setup/installation/api-key.html

Known Issues

  • Triggering traces via Chrome Extension requires Tideways PHP Extension version 5.3.16 and up
  • Laravel framework spans and events in Profiler require Tideways PHP Extension version 5.3.16 and up

License

The MIT License (MIT). Please see License File for more information.

laravel-octane-middleware's People

Contributors

beberlei avatar tolry avatar adhocore avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.