PHPackages                             ernestobaezf/laravel-apm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. ernestobaezf/laravel-apm

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

ernestobaezf/laravel-apm
========================

Application performance monitor (APM) for Laravel.

1.1(6y ago)013MITPHPPHP &gt;=7.0

Since Sep 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ernestobaezf/laravel-apm)[ Packagist](https://packagist.org/packages/ernestobaezf/laravel-apm)[ Docs](https://github/ernestobaezf/laravel-apm-php)[ RSS](/packages/ernestobaezf-laravel-apm/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Laravel APM
===========

[](#laravel-apm)

A tool to index profiling data to different sources.

This php package is inspired in [twlogger](https://github.com/nishantsaini/twlogger) which was used a base to implement this package.

Requirements
------------

[](#requirements)

- [Tideways](https://github.com/tideways/php-profiler-extension) to actually profile the data.

Installation
------------

[](#installation)

`composer require ernestobaezf/laravel-apm-php`

Configuration
-------------

[](#configuration)

Coming

Use case
--------

[](#use-case)

Coming

Profile a CLI Script
--------------------

[](#profile-a-cli-script)

The simplest way to profile a CLI is to use `external/header.php`. `external/header.php` is designed to be combined with PHP's [auto\_prepend\_file](http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file)directive. You can enable `auto_prepend_file` system-wide through `php.ini`. Alternatively, you can enable include the `header.php` at the top of your script:

```
