tideways / laravel-octane-middleware
Integrates with Laravel Octane for Tideways PHP Monitoring, Profiling, Exception-Tracking
Installs: 153 643
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 4
Forks: 4
Open Issues: 0
Requires
- php: ^8.0
- laravel/octane: >=0.1.0,<2.0
Requires (Dev)
- phpunit/phpunit: ^10.5
- dev-master
- v1.2
- v1.1
- v1.0
- v0.1.0
- dev-laminas-ci
- dev-phpunit-config
- dev-improve-ci-config
- dev-dependabot/composer/symfony/process-7.1.7
- dev-remove-octane-dependency
- dev-dependabot/composer/laravel/octane-2.5.9
- dev-dependabot/composer/phpunit/phpunit-11.4.3
- dev-dependabot/github_actions/ramsey/composer-install-3
- dev-dependabot
- dev-fix-tests
- dev-security-fix-symfony-process_http-foundation
- dev-Testing
This package is auto-updated.
Last update: 2024-11-07 09:45:36 UTC
README
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.