Profile legacy Yii 1.1 requests, commands, and cron-style workloads without rewriting the app
Perfbase gives teams maintaining Yii 1.1 systems a first-party way to capture real traces, isolate slow paths, and modernize performance visibility incrementally.
Why teams choose Perfbase for Yii 1.1
Built for legacy Yii 1.1 maintenance
Supports HTTP, console, and cron contexts
Preload component for early instrumentation
Yii 1.1
Performance monitoring for legacy Yii 1.1 applications
Supported versions
Yii 1.1 / PHP 7.4+
Quick install
composer require perfbase/yii1Starter config
// config/main.php
'preload' => ['perfbase'],
'components' => [
'perfbase' => [
'class' => 'Perfbase\\Yii1\\PerfbaseComponent',
'enabled' => true,
'api_key' => 'your-api-key',
],
]Use cases
Why teams use Perfbase for Yii 1.1
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 1.1.
Get visibility without a rewrite
Add meaningful profiling to a legacy Yii 1.1 app without replacing the framework or building custom tracing internals.
Make cron and console work measurable
See how maintenance scripts and command-style tasks behave instead of guessing from logs alone.
Prioritize modernization work with evidence
Use real request and command traces to decide where refactoring effort will actually pay off.
Profiling coverage
What gets profiled and how Perfbase works in Yii 1.1
Perfbase stays framework-aware while keeping setup light. These are the behaviors and operational paths this integration is built to expose.
HTTP profiling
Automatic profiling via Yii application events with URL manager route resolution.
Console command profiling
Console commands are profiled with command names extracted from argv.
Cron sub-context
Specific commands can be classified as cron jobs with separate filtering.
Preload component
Registers as a preloaded component for early event listener attachment.
Include and exclude filters
Separate filters for HTTP, console, and cron contexts.
Legacy app support
PHP 7.4+ compatible. First-party profiling for Yii 1.1 without invasive rewrites.
Setup preview
How to get started with Perfbase in Yii 1.1
Start with install, configuration, and the first framework-specific profiling steps here. When you want full implementation detail, each card links directly into the complete guide.
Installation
Install the Perfbase PHP extension first. This is what does the actual profiling:
Open docs section →
Configuration
Register the component in your application config and add it to the preload array so it attaches event handlers before the first request:
Open docs section →
HTTP profiling
HTTP requests are profiled automatically via Yii 1 application events. The component attaches to onBeginRequest, onEndRequest, onException, and onError.
Open docs section →
Cron profiling
Cron is a classified sub-context of console profiling. By default, no commands are treated as cron; the include.cron list is empty.
Open docs section →
FAQ
Yii 1.1 profiler and performance monitoring FAQ
Why use Perfbase on a legacy Yii 1.1 app?
Perfbase gives you actionable performance data on a framework that many teams still run in production, without forcing a rewrite just to gain visibility.
Can Perfbase separate cron-style workloads from normal commands?
Yes. Yii 1.1 support includes a cron sub-context so you can filter and reason about scheduled workloads independently.
Will Perfbase work on newer PHP versions used with Yii 1.1?
Yes. The integration is designed for teams running Yii 1.1 on PHP 7.4+ while extending the useful life of legacy applications.
Start profiling
Ready to start profiling production traffic?
Create a project, install the package, and start capturing framework-level traces in minutes.