PHPackages                             faridcs/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. faridcs/laravel-apm

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

faridcs/laravel-apm
===================

Laravel APM For Elasticsearch

4.4(7y ago)2171MITPHPPHP &gt;=7.0

Since Dec 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/llamazesty/laravel-apm)[ Packagist](https://packagist.org/packages/faridcs/laravel-apm)[ RSS](/packages/faridcs-laravel-apm/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (7)Versions (8)Used By (0)

laravel-apm
===========

[](#laravel-apm)

PHP Elastic APM for Laravel This package is compatible with laravel &gt;= 5.2

Install
-------

[](#install)

```
composer require faridcs/laravel-apm

```

Provider and Aliases
--------------------

[](#provider-and-aliases)

Add this line to provider and aliases array in `config/app.php`

```
'providers' => [

        /*
         * Laravel Framework Service Providers...
         */
        // ... more provider

        faridcs\ApmLaravel\Providers\ElasticApmServiceProvider::class,
    ],

'aliases' => [

        // more aliases

        'ElasticApm' => faridcs\ApmLaravel\Facades\ElasticApm::class,
    ],
```

Config
------

[](#config)

```
php artisan vendor:publish --provider="alopeyk\ApmLaravel\Providers\ElasticApmServiceProvider" --tag="config"

```

Middleware
----------

[](#middleware)

Register the middleware in `app/Http/Kernel.php`

```
protected $middleware = [
    // ... more middleware
    \faridcs\ApmLaravel\Middleware\RecordTransaction::class,
];
```

Error/Exception Handling
------------------------

[](#errorexception-handling)

### Laravel

[](#laravel)

In `app/Exceptions/Handler`, add the following to the `report` method:

```
ElasticApm::captureThrowable($exception);
ElasticApm::send();
```

Make sure to import the facade at the top of your file:

```
use ElasticApm;
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

2739d ago

Major Versions

1.0 → 2.02018-12-30

2.0 → 3.02018-12-30

3.0 → 4.02018-12-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a39310546c05f958903480deb2f46b2fe93919acd35466cdc6d4b92fb091a75?d=identicon)[faridcs](/maintainers/faridcs)

---

Top Contributors

[![polymatx](https://avatars.githubusercontent.com/u/7346039?v=4)](https://github.com/polymatx "polymatx (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/faridcs-laravel-apm/health.svg)

```
[![Health](https://phpackages.com/badges/faridcs-laravel-apm/health.svg)](https://phpackages.com/packages/faridcs-laravel-apm)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76922.3M129](/packages/laravel-mcp)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M123](/packages/roots-acorn)[illuminate/queue

The Illuminate Queue package.

20432.6M1.5k](/packages/illuminate-queue)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k17](/packages/fleetbase-core-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
