Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Elastic Apm Php Agent Laravel Package

nipwaayoni/elastic-apm-php-agent

Laravel-friendly Elastic APM PHP agent for instrumenting apps and sending performance data, errors, and transactions to an Elastic APM Server. Helps monitor response times, slow queries, and exceptions with simple setup and configurable reporting.

View on GitHub
Deep Wiki
Context7

Installation

The recommended way to install the agent is through Composer.

Run the following composer command:

composer require nipwaayoni/elastic-apm-php-agent

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

HTTP ClientInterface

This package uses, but does not provide, a PSR-18 HTTP client interface compatible implementation. Internally, the package uses php-http/discovery to find suitable PSR-17 factories and PSR-18 clients.

If the package cannot find suitable PSR-17 and PSR-18 components, it will throw an\Http\Discovery\Exception\NotFoundException exception.

If your project does not already include such an implementation, you may choose to require the following:

composer require http-interop/http-factory-guzzle php-http/guzzle6-adapter

This installs the php-http/guzzle6-adapter (as PSR-18 compatible client) and http-interop/http-factory-guzzle (as PSR-17 compatible factories) composer packages. Once installed, auto-discovery will find and use them. If you want, you can inject your own client and factories by implementing PSR-17 and PSR-18 interfaces and passing objects using the AgentBuilder class. (See the agent example.)

Note that the PSR-18 space is still evolving and direct support without adapters could be available at any time.

See all available PSR-17 factories here.

See all available PSR-18 clients here.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle