inspector-apm / inspector-laravel
Code Execution Monitoring, built for developers.
Installs: 1 308 936
Dependents: 1
Suggesters: 0
Security: 0
Stars: 210
Watchers: 5
Forks: 15
Open Issues: 3
Requires
- php: >=7.2 <9
- illuminate/console: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/contracts: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- inspector-apm/inspector-php: ^3.8.0
Requires (Dev)
- orchestra/testbench: ^6.25.1|^7.22|^8.0|^9.0
- dev-master
- 4.9.16
- 4.9.15
- 4.9.14
- 4.9.13
- 4.9.12
- 4.9.11
- 4.9.10
- 4.9.9
- 4.9.8
- 4.9.7
- 4.9.6
- 4.9.5
- 4.9.4
- 4.9.3
- 4.9.2
- 4.9.1
- 4.9.0
- 4.8.7
- 4.8.6
- 4.8.4
- 4.8.3
- 4.8.2
- 4.8.1
- 4.8.0
- 4.7.34
- 4.7.33
- 4.7.32
- 4.7.31
- 4.7.30
- 4.7.29
- 4.7.28
- 4.7.27
- 4.7.26
- 4.7.25
- 4.7.24
- 4.7.23
- 4.7.22
- 4.7.21
- 4.7.20
- 4.7.19
- 4.7.18
- 4.7.17
- 4.7.16
- 4.7.15
- 4.7.14
- 4.7.13
- 4.7.12
- 4.7.11
- 4.7.10
- 4.7.9
- 4.7.8
- 4.7.7
- 4.7.6
- 4.7.5
- 4.7.4
- 4.7.3
- 4.7.2
- 4.7.1
- 4.7.0
- 4.6.23
- 4.6.22
- 4.6.21
- 4.6.20
- 4.6.19
- 4.6.18
- 4.6.17
- 4.6.16
- 4.6.15
- 4.6.14
- 4.6.13
- 4.6.12
- 4.6.11
- 4.6.10
- 4.6.9
- 4.6.8
- 4.6.7
- 4.6.6
- 4.6.5
- 4.6.4
- 4.6.3
- 4.6.2
- 4.6.1
- 4.6.0
- 4.5.1
- 4.5.0
- 4.4.19
- 4.4.18
- 4.4.17
- 4.4.16
- 4.4.15
- 4.4.14
- 4.4.13
- 4.4.12
- 4.4.11
- 4.4.10
- 4.4.9
- 4.4.8
- 4.4.7
- 4.4.6
- 4.4.5
- 4.4.4
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.7
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.9
- 4.1.8
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.11
- 2.3.10
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-develop
This package is auto-updated.
Last update: 2024-10-24 10:39:03 UTC
README
Before moving on, please consider giving us a GitHub star ⭐️. Thank you!
Code Execution Monitoring for Laravel applications.
- Requirements
- Install
- Configure the Ingestion Key
- Middleware
- Test everything is working
- Official Documentation
- Contribution Guidelines
Requirements
- PHP >= 7.2.0
- Laravel >= 5.5
Install
Install the latest version by:
composer require inspector-apm/inspector-laravel
For Lumen
If your application is based on Lumen you need to manually register the InspectorServiceProvider
:
$app->register(\Inspector\Laravel\InspectorServiceProvider::class);
Configure the Ingestion Key
First put the Ingestion Key in your environment file:
INSPECTOR_INGESTION_KEY=[ingestion key]
You can obtain an INSPECTOR_INGESTION_KEY
creating a new project in your Inspector 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' => [ ..., \Inspector\Laravel\Middleware\WebRequestMonitoring::class, ], 'api' => [ ..., \Inspector\Laravel\Middleware\WebRequestMonitoring::class, ]
Test everything is working
Run the command below:
php artisan inspector:test
Go to https://app.inspector.dev/home to explore your data.
Official documentation
Check out the official documentation
Contributing
We encourage you to contribute to Inspector! Please check out the Contribution Guidelines about how to proceed. Join us!
LICENSE
This package is licensed under the MIT license.