Skip to main content
← All integrations
Yii 3 profiler + performance monitoring

Profile Yii 3 middleware, routes, and console workflows with framework-aware performance monitoring

Perfbase helps Yii 3 teams trace PSR-15 request flow, console execution, and framework services without bolting on a generic APM that ignores Yii conventions.

Profile PSR-15 HTTP flow
Trace console commands
See route and service bottlenecks

Why teams choose Perfbase for Yii 3

Config provider friendly integration

PSR-15 middleware support

Console profiling through Symfony events

Y

Yii 3

Performance monitoring for Yii 3 applications

Supported versions

Yii 3

Quick install

composer require perfbase/yii3

Starter config

// config/params.php
return [
  'perfbase' => [
    'enabled' => true,
    'api_key' => 'your-api-key',
  ],
];

Use cases

Why teams use Perfbase for Yii 3

Perfbase is built for teams that need more than a local debug toolbar. It brings production-facing traces, framework-specific context, and shared visibility across the slow paths that matter most in Yii 3.

Keep modern Yii apps observable from day one

See how middleware, routes, and services contribute to latency in real application traffic.

Avoid generic tracing blind spots

Use framework-aware integration points that fit Yii 3 instead of forcing an abstract APM model onto the stack.

Cover console work alongside web requests

Bring CLI workflows into the same performance picture as HTTP traffic.

Profiling coverage

What gets profiled and how Perfbase works in Yii 3

Perfbase stays framework-aware while keeping setup light. These are the behaviors and operational paths this integration is built to expose.

PSR-15 HTTP middleware

Standard PSR-15 middleware registered via a ConfigProvider.

Console event subscriber

Console commands are profiled via Symfony console event subscription.

Config provider pattern

DI services are registered automatically via the Yii 3 config provider architecture.

Route attribute resolution

Extracts route templates from PSR-7 request attributes for low-cardinality naming.

Include and exclude filters

Per-context filters for HTTP and console profiling.

Fail-open design

Profiling errors never crash your application. Debug mode is available for development.

FAQ

Yii 3 profiler and performance monitoring FAQ

Does Perfbase fit Yii 3 architecture cleanly?

Yes. Perfbase is designed around Yii 3 patterns such as config providers, PSR-15 middleware, and container-managed services.

Can Perfbase profile console commands in Yii 3?

Yes. Console command profiling is supported via Symfony console event integration.

Will Perfbase preserve low-cardinality route naming?

Yes. Perfbase extracts route templates from request attributes where possible so trace names stay useful and aggregatable.

Start profiling

Ready to start profiling production traffic?

Create a project, install the package, and start capturing framework-level traces in minutes.