‹ Back to Blog

Best PHP APM Tools in 2026: A Developer's Guide

PHP Performance Engineering Dev Tools

Best PHP APM Tools in 2026: A Developer’s Guide

Originally published December 2022. Last updated: May 2026

PHP applications power a large share of the web, and the performance problems they face in production are well-understood: slow database queries in Eloquent or Doctrine, memory leaks in long-running workers, opaque error handling in legacy codebases, and response time degradation that is invisible until users complain. A good monitoring tool makes these problems visible early enough to fix them before they become user-facing.

The PHP monitoring landscape has changed meaningfully since we first published this guide. Some tools have been discontinued or absorbed into other products, and new options have emerged. Here is a practical look at the main options for PHP teams in 2026.

What to Prioritize

The most important variable when evaluating PHP APM is how deeply the tool understands your framework. A tool with real Laravel or Symfony knowledge will automatically surface slow Eloquent queries, identify N+1 patterns, and show you which middleware is adding latency. A tool with shallow PHP instrumentation will tell you a request took too long and leave the investigation to you.

Beyond framework depth, the relevant questions are: Does the tool integrate error monitoring and log management, or will you need to manage separate products? How does it handle queue workers and background jobs? And does the pricing model stay reasonable as your traffic grows?

Scout

Scout provides integrated APM, error monitoring, and log management for PHP applications. Laravel 5.5+ is supported out of the box, with automatic instrumentation for Eloquent queries, queue jobs, middleware, and Blade rendering. When something goes wrong, you see the trace, the error, the surrounding logs, and the database queries together in one view.

N+1 query detection is one of the more practically useful things Scout does for Laravel teams. Eloquent’s relationship loading makes N+1 queries easy to introduce, and Scout identifies them automatically, shows the exact code location, and quantifies the performance impact. This works without configuration because Scout understands Eloquent patterns at the framework level.

Memory bloat detection is useful for PHP-FPM pools and queue workers. Scout identifies where memory is being allocated at the application level, which is more actionable than host-level memory metrics when you are trying to find what is causing a worker to consume more memory over time.

Scout also supports Ruby, Python, and Elixir. If your team is running Laravel alongside a Rails or Django service, one tool covers the whole stack. Setup takes about 5 minutes: composer require scoutapp/scout-apm-laravel, add your config, and deploy.

Pricing uses simple transaction-based tiers, and if you get an unexpected traffic surge Scout absorbs the overage rather than billing you for it. The Scout MCP server connects AI coding assistants like Claude or Cursor directly to your Scout data, so you can query your application’s performance in natural language from within your editor. The Scout CLI lets you pull traces, errors, and metrics from your terminal.

Best for: PHP teams who want errors, logs, and traces in one tool with automatic N+1 detection and predictable pricing. Also the right choice for teams running PHP alongside other frameworks.

Limitations: Focused on application monitoring, so it does not include host metrics or infrastructure monitoring. Laravel is the primary supported framework. Supports PHP, Ruby, Python, and Elixir rather than broad polyglot coverage.

Tideways

Tideways is built specifically for PHP. The profiler runs as a PHP extension with low overhead, and the application-level visibility is deep: call graphs, timeline views of individual requests, and automatic detection of slow database queries and external HTTP calls. Tideways integrates error tracking and can alert on response time regressions, error rate spikes, and queue backlogs.

The PHP-native approach means Tideways understands PHP internals (opcode execution, garbage collection, memory allocation) at a level that language-agnostic tools do not match. The profiler can be enabled selectively in production to investigate specific performance issues without impacting all traffic.

Tideways supports Laravel, Symfony, WordPress, Magento, and Drupal. If you are running a CMS-based application, Tideways has framework-specific dashboards for those use cases. Tideways does not include log management, so you will need a separate tool for that. It is also PHP-only, which is a constraint if your stack includes services in other languages.

Best for: PHP-focused teams who want deep profiling capabilities and framework-specific dashboards, particularly for CMS-based applications.

Limitations: PHP only. No log management. Pricing is per-server.

New Relic

New Relic is a comprehensive observability platform. PHP APM is one component alongside infrastructure monitoring, log management, browser monitoring, synthetics, and more. The PHP agent provides distributed tracing and transaction monitoring for Laravel, Symfony, WordPress, and other frameworks.

The case for New Relic is cross-stack correlation: connecting PHP application performance to infrastructure health, browser events, and services written in other languages. For organizations with dedicated DevOps bandwidth and polyglot environments, that unified view is useful.

The PHP agent covers framework basics but is not as specialized for PHP-specific patterns as tools built for PHP. N+1 query detection requires manual investigation through the database query analysis rather than being flagged automatically. Pricing is per GB of data ingested plus per-user fees, with a free tier. Costs require active monitoring to stay in check.

Best for: Organizations wanting a single platform for all observability needs, or teams with polyglot environments who want consistent tooling across PHP and other languages.

Limitations: Less specialized for PHP-specific patterns. Steeper learning curve. Pricing can be less predictable as data volume grows.

Datadog

Datadog is an enterprise observability platform. PHP APM integrates with infrastructure, log, and security monitoring, and it works well for microservices architectures where you need to trace requests across services. The PHP tracer supports Laravel, Symfony, WordPress, CakePHP, and others.

For PHP teams who need infrastructure-level visibility alongside APM and are already using Datadog for other parts of their stack, adding PHP tracing is straightforward. For teams who primarily want to understand why their Laravel application is slow, the complexity and per-host pricing with feature add-ons tends to be more than the job requires.

Best for: DevOps and SRE teams managing complex infrastructure who want a single vendor for observability across PHP and other services.

Limitations: Enterprise pricing and complexity. Usually more than a development team without dedicated ops resources needs for application monitoring.

Sentry

Sentry started as an error tracker and has expanded into performance monitoring. The PHP SDK provides transaction tracing, error grouping with full stack traces, and release tracking. Laravel and Symfony have first-class integrations. The error monitoring is mature and well-regarded, with good grouping algorithms that reduce noise.

The performance monitoring side is newer and less deep than dedicated APM tools. You get transaction traces and can identify slow spans, but automatic N+1 detection and memory profiling are not included. Sentry is strongest when your primary concern is error visibility and you want performance monitoring as a complement rather than the other way around.

Sentry does not include log management or host metrics. Pricing is event-based.

Best for: Teams whose primary concern is error monitoring and who want basic performance tracing alongside it.

Limitations: Performance monitoring is less deep than dedicated APM tools. No automatic N+1 detection or memory profiling. No log management or host metrics.

PHP-Specific Considerations

N+1 queries are the most common Laravel performance problem. Eloquent’s eager loading with with() solves them, but they are easy to introduce and hard to find without tooling. Scout flags N+1 queries automatically with code attribution. Tideways surfaces repeated query patterns through its profiler. New Relic, Datadog, and Sentry provide query analysis but leave N+1 identification to you.

Memory management in PHP-FPM is different from languages with persistent processes. Each request starts with a clean memory state, but memory leaks in queue workers, Horizon daemons, and Octane applications are real problems because those processes are long-lived. Scout’s memory profiling shows application-level allocation details. Tideways provides memory profiling through its PHP extension. Host-level metrics from other tools tell you there is a memory problem but not which code is causing it.

Queue workers and background jobs: Laravel Horizon and queue workers need monitoring separately from HTTP requests. Scout, Tideways, and Sentry instrument queue jobs. New Relic and Datadog support queue monitoring through their PHP agents. If you are running Horizon, check whether the tool provides job-level visibility or just process-level metrics.

Framework coverage: If you are running WordPress, Magento, or Drupal rather than Laravel or Symfony, Tideways has the strongest CMS-specific support. Scout focuses on Laravel. New Relic and Datadog have broad but shallow framework coverage. Sentry supports Laravel and Symfony best.

Choosing

For PHP teams who want integrated APM, errors, and logs with automatic N+1 detection and straightforward pricing, Scout is the most complete focused solution. For teams who want deep PHP profiling and CMS-specific dashboards, Tideways is a strong PHP-native option. For error monitoring as the primary concern with performance tracing alongside, Sentry is well-regarded. For full-stack observability spanning infrastructure, browser, and mobile with dedicated DevOps resources, New Relic or Datadog are the platform options.

If you are evaluating Scout, see what we do for PHP teams or start a free trial and see results in minutes. No credit card required, and our free tier means you can keep monitoring after the trial ends. For application monitoring with errors, logs, and traces, we provide the fastest path to useful information without the bloat.

This guide reflects the monitoring landscape as of May 2026. Products and pricing change, so verify current capabilities on each vendor’s website before making a decision.