exolnet/laravel-instruments

Module to track Laravel metrics with Statsd.
713 3
Install
composer require exolnet/laravel-instruments
Latest Version:v1.9.0
PHP:^8.3
Laravel:12 · 13
Older releases:5 – 11
License:MIT
Last Updated:Sep 21, 2026
Links: GitHub  ·  Packagist
Maintainer: exolnet

Laravel Instruments

Latest Stable Version Software License Build Status Total Downloads

This project aim to easily add metric tracking to your Laravel 5 applications. Three drivers are currently supported: StatsD, Log and Null. The following metrics are currently tracked:

  • Request
  • Response
  • Browser timing (first byte, ready and load)
  • SQL Queries
  • Authentifications
  • Mail
  • Queue
  • Cache

Installation

Require this package with composer:

composer require eXolnet/laravel-instruments

After updating composer, add the ServiceProvider to the providers array in config/app.php:

Exolnet\Instruments\InstrumentsServiceProvider::class

Configure the library through your .env file:

INSTRUMENTS_DRIVER=statsd
STATSD_HOST=127.0.0.1
STATSD_PORT=8125

Or publish the package configuration with the following command:

$ php artisan vendor:publish --provider="Exolnet\Instruments\InstrumentsServiceProvider"

Testing

To run the phpUnit tests, please use:

$ composer test

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Security

If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.

Credits

License

Copyright © eXolnet. All rights reserved.

This code is licensed under the MIT license. Please see the license file for more information.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

399,241,428 4,660

Version History

Version Released PHP Laravel License
v1.9.0 ^8.3 ^12.0|^13.0 MIT
v1.8.0 ^8.2 ^11.0|^12.0|^13.0 MIT
v1.7.0 ^8.2 ^11.0|^12.0 MIT
v1.6.0 ^8.2 ^11.0|^12.0 MIT
v1.5.0 ^8.1 ^10.0|^11.0 MIT