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

Profiler Storage Bundle Laravel Package

sitetheory/profiler-storage-bundle

Sitetheory's Profiler Storage Bundle provides configurable storage backends for persisting profiler data in PHP applications. It lets you capture and retrieve profiling traces outside of memory, making it easier to inspect request performance across environments and storage drivers.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Verdict: Low fit and high risk. This is a Symfony bundle (2.8+), not a Laravel package, last released in 2019 with 4 stars, 0 dependents, and an opportunity score of 24.5. It should not be adopted as-is into a Laravel application.

  • Architecture fit: Poor. The package is built around Symfony's bundle system: a Bundle class, DI extension, compiler passes, and Symfony HttpKernel profiler APIs. Laravel has no bundle lifecycle; it uses service providers, the Laravel container, config files, and package discovery. The bundle's value is mostly Symfony wiring, not portable profiler-storage logic.
  • Domain mismatch: Profiler storage is a development/debugging concern. Laravel-native equivalents already exist: Laravel Telescope, Laravel Debugbar, and Clockwork. Adopting a Symfony profiler storage backend adds maintenance burden without filling a gap in the Laravel stack.
  • Integration feasibility: Low without a fork. A Laravel integration would require reimplementing the bundle's container configuration as a service provider, replacing Symfony console commands with Artisan commands, and adapting storage access to Laravel's cache/filesystem/database abstractions. The remaining portable code is likely a thin storage adapter, not worth the dependency.
  • Technical risk: High. The package targets Symfony 2.8/3.x-era APIs. Symfony profiler storage interfaces and profiler internals changed materially in later Symfony releases, so the core classes may depend on removed or deprecated contracts. PHP version constraints are likely pre-8.x and will conflict with modern Laravel (PHP 8.1+). The upstream is effectively abandoned, so security patches and compatibility fixes become our responsibility.
  • Ecosystem risk: 0 dependents and 4 stars mean no community validation, no downstream bug reports, and no realistic upstream support. The MIT license is permissive, which helps a fork, but does not reduce the audit and ownership burden.
  • Key questions:
    • What concrete requirement is this solving that Telescope, Debugbar, or Clockwork cannot?
    • Is the target application actually Laravel, or is this being evaluated for a legacy Symfony service?
    • Which Symfony/PHP versions does the code actually support, and does it use profiler APIs removed after Symfony 3.4?
    • Are there transitive dependencies with known CVEs or abandoned packages?
    • Who will own the fork, security patching, and compatibility testing?
    • Can the required storage behavior be extracted as a small internal adapter instead of adopting the bundle?

Integration Approach

Recommendation: Do not install this package directly. Either reject it in favor of Laravel-native tooling, or treat it as a reference implementation for a small internal adapter.

  • Stack fit: Laravel's package model is incompatible with Symfony bundles. There is no composer.json extra.laravel provider, no Laravel service provider, and no Laravel configuration surface. Installing it alongside Laravel would pull Symfony framework components and likely create dependency conflicts without delivering working functionality.
  • Migration path, if the capability is genuinely needed:
    1. Audit the repository: list classes, identify which are Symfony-specific versus storage-specific, and confirm the license allows forking.
    2. Extract only the storage mechanics (read/write/purge/find semantics) into a standalone PHP class with no Symfony dependencies.
    3. Wrap that class in a Laravel service provider, publish a config/profiler-storage.php, and bind it to a Laravel manager or facade.
    4. Replace Symfony console commands with Artisan commands for purge/retention.
    5. Replace Symfony request/response listeners with Laravel middleware or events.
    6. Add tests against the Laravel versions and PHP versions actually supported.
  • Compatibility: Expect Composer conflicts. The package's Symfony constraints will likely block installation in Laravel 10/11 projects. Run composer why-not sitetheory/profiler-storage-bundle against the target application before any spike. Static analysis (PHPStan/Larastan) on the extracted code will surface PHP 8 incompatibilities quickly.
  • Sequencing:
    1. Requirements validation against Telescope/Clockwork — one day.
    2. Repository and dependency audit — one to two days.
    3. Throwaway port spike of the storage layer — three to five days.
    4. Decision gate: build internal adapter versus adopt existing Laravel tooling.
    5. If building, package as an internal Composer package with pinned dependencies and an owner.
  • Better alternatives: Laravel Telescope for request/job/query profiling; Laravel Debugbar for local development; Clockwork for lightweight timeline debugging. If the requirement is long-term profiler data retention, implement a Laravel-native storage driver against Redis, S3, or the database.

Operational Impact

  • Maintenance: Effectively unmaintained. Last release 2019-05-13, no recent activity, and no dependents. Adopting it means owning the code, security patches, PHP 8 compatibility, and any Symfony API drift. A fork adds an internal package to maintain indefinitely.
  • Support: No meaningful community support. Four stars and zero dependents indicate no documented usage patterns and no external bug reports to learn from. Troubleshooting will be first-principles work against old Symfony internals.
  • Scaling: Profiler storage should be development/staging-only. If enabled in production, storage growth is unbounded without retention and purge policies. Redis or file-backed profiler data can consume disk/memory and degrade request latency. It is not a production telemetry system and should not be treated as one.
  • Failure modes:
    • Dependency resolution failure during composer install against modern Laravel.
    • Fatal errors from removed Symfony profiler interfaces or PHP 8 incompatibilities.
    • DI/container boot failures due to bundle assumptions.
    • Profiler write failures surfacing as request errors if exceptions are not swallowed.
    • Serialization/deserialization mismatches when profiler payload formats change.
    • Unbounded storage growth and stale profile data.
    • Security exposure if profiler data is reachable outside development.
  • Ramp-up: Evaluation is cheap; porting is not. A team would need both Symfony bundle internals and Laravel package internals knowledge. Budget one to two sprints for a credible port and hardening, with a real chance the effort produces something inferior to Telescope. The expected-value calculation favors rejecting the package and standardizing on Laravel-native observability tooling.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console