Weave 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
Profiling Bundle

Profiling Bundle Laravel Package

jinya/profiling-bundle

The Jinya Profiling Bundle adds profiling support to Symfony applications, helping developers collect and inspect runtime performance data to debug bottlenecks, investigate request behavior, and gain clearer insights into how their application performs during development.

View on GitHub
Deep Wiki
Context7

Dumps the symfony profiler data into yaml files to be usable outside of the symfony web profiler

Frequently asked questions about Profiling Bundle
Can I install the Jinya Profiling Bundle in a Laravel app?
No. jinya/profiling-bundle is a Symfony bundle built around a Bundle subclass, a DI Extension, a Configuration tree and Symfony Profiler collectors, none of which exist in Laravel's container or package model. There is no drop-in install path, so adding it to composer.json in a Laravel project gives you dead code rather than profiling data. If you want the same capability, treat the bundle as a pattern reference and implement request timing with middleware plus Telescope or Debugbar.
What does the Jinya Profiling Bundle actually do?
It adds lightweight, configurable profiling to Symfony applications by hooking the framework's event system to measure request handling, service calls and custom checkpoints, then surfaces the collected data in a dedicated panel inside the Symfony Profiler toolbar. Setup is essentially zero-config as a standard bundle, and the core is framework-agnostic so timers can be used outside Symfony. It is a development-time diagnostic tool, not a production APM.
Is jinya/profiling-bundle still maintained?
The repository is archived with zero stars and zero dependents, which means no maintainer, no issue triage and no security response. Adopting it implies a permanent internal fork commitment, plus a low-value but non-zero CVE and license-tracking obligation in composer.json. For a Laravel team the practical answer is to extract the dumper pattern and leave the bundle behind.
What is the Laravel equivalent of this Symfony profiling bundle?
Laravel ships two native substitutes: Telescope for stored, queryable runtime data through watchers and entries, and Debugbar for request-scoped inspection in the browser. For artifact capture, a small telescope:export command that writes normalized dumps covers most of the same ground. None of them require a Symfony bundle or a profiler collector registry.
Does Laravel Telescope already cover exporting profiler data outside the web UI?
Usually yes. Telescope persists entries to storage and you can query, prune and export them with artisan commands, which satisfies offline post-mortems and audit retention for most teams. Ask whether Telescope plus a thin export command meets roughly 80% of the need before building anything custom. Only CI regression diffing of query counts and timings tends to need bespoke formatting.
Which parts of the bundle are reusable in a Laravel package?
Roughly one class, the collector-to-file writer that serializes profiler payloads to human-readable YAML for diffing, archiving or attaching to a ticket. Everything else, including bundle registration, collector tags, toolbar integration and config tree merging, is Symfony-specific and should be discarded rather than ported. The design idea of a versioned, swappable artifact format is the real takeaway.
How much effort is it to build a Laravel profiler export package?
A prototype covering request data, query logs and timings, plus redaction and retention, is roughly one to two engineer-weeks. Reading the Symfony source for patterns adds a few days of overhead with limited payoff, since the valuable logic is small. Phase it as discovery, then pattern extraction, then a thin internal package behind an interface.
What are the security risks of dumping profiler data to YAML files?
Profiler payloads routinely capture secrets such as auth tokens, session IDs, PII and full query logs. YAML artifacts are verbose and grow fast at scale, so unredacted dumps both bloat storage and spread sensitive data. Define redaction rules up front, decide where artifacts are stored or uploaded, and set retention before enabling capture anywhere near production-like data.
How should I version the exported profile artifact schema?
Keep the artifact schema yours rather than copying the Symfony profiler's internal data shape, which has moved across Symfony 5.x, 6.x and 7.x and would degrade silently on framework upgrades. Include a schema_version key in every dump and document the schema in-repo so downstream diffing and CI checks stay stable across package releases. Put the writer behind an interface so YAML versus JSON Lines output is swappable.
What should a Laravel profiler export package target for versions and testing?
Target Laravel 10, 11 and 12 on PHP 8.2 or newer, noting that symfony/yaml and symfony/serializer are already present transitively in most Laravel vendor trees. Write feature tests that fire a request, assert the artifact is written, and validate the schema_version key and redaction behavior. Add a CI test that fails when query counts or timings regress beyond a threshold, since that is the one use case Telescope handles least well.
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections