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.
Architecture fit
Bundle subclass, a DI Extension, a Configuration tree, and event subscribers wired into Symfony's Kernel/Profiler lifecycle. Laravel has no bundle kernel, no profiler collector registry, and no config/packages/*.yaml merge model, so there is no drop-in install path into a Laravel codebase.Integration feasibility
RequestHandled/Terminate middleware and on Telescope's entry stream, normalizes payloads, and writes artifacts via symfony/yaml (already present transitively in most Laravel vendor trees) or symfony/serializer.php artisan telescope:prune for retention. The first TPM question is whether Telescope plus a small telescope:export command already satisfies the "profiler data outside the web UI" need — most of the time it does.Technical risk
composer.json creates a low-value but non-zero CVE and license-tracking obligation.Key questions
telescope:export command cover ~80% of it?Stack fit
jinya/profiling-bundle to composer.json. Instead build an internal package (e.g. acme/laravel-profiler-export) providing:
ProfileDumpServiceProvider;RequestHandled listener;DB::listen / Log events into a normalized array;schema_version key. This is the single most valuable lesson from the Symfony bundle.Migration path
storage/app/profiler/{env}/{date}/{request_id}.ndjson, gated behind an explicit env flag and a non-production guard.Compatibility
symfony/yaml (or none at all if using JSON) explicitly rather than relying on transitive resolution, to avoid colliding with Laravel's own Symfony component constraints.Sequencing
Maintenance
Support
Scaling
Failure modes
storage/. Mitigate with a retention job and a quota check before write.Authorization, cookies, and request bodies.!app()->isProduction() guard, not a config toggle alone.debug so it never breaks a request — but alert on dumper error rate so breakage is visible.Ramp-up
TPM recommendation
jinya/profiling-bundle. It is archived, has zero traction, targets the wrong framework, and its reusable surface is a single serializer pattern.How can I help you explore Laravel packages today?