ilzrv/laravel-slow-query-detector
Laravel Slow Query Detector helps you spot and log slow database queries in Laravel apps. Set a configurable threshold, receive clear warnings, and optimize performance before sluggish queries impact your users.
Architecture fit The package targets the Laravel ecosystem and, as of v2.1.0, formally supports Laravel 10 (which requires PHP 8.1+). The release is a minor version bump (2.1.0), so under semver it should be additive and non-breaking. Standard Laravel package conventions (Composer install, service provider registration, optional config publishing) are assumed but not confirmed by the release notes.
Integration feasibility
Low-friction for a Laravel 10 / PHP 8.2 stack: the release explicitly validates this combination, which is the single most important compatibility signal for adoption. Integration should be a routine composer require plus provider/config wiring, contingent on confirming the package's dependency constraints and whether Laravel 10 is a floor or a ceiling.
Technical risk
Key questions
Stack fit Fits a Laravel 10 application on PHP 8.1–8.2. Not yet evidenced as compatible with Laravel 11/12 or PHP 8.3+, so teams on those stacks should treat it as unverified.
Migration path
From v2.0.x: minor-version upgrade, expected to be composer update with no code changes. Verify resolved dependency constraints and run the app's test suite. From v1.x or unsupported Laravel/PHP combinations: treat as a compatibility jump and validate in a branch.
Compatibility
Sequencing
composer why constraints resolve cleanly and no transitive conflicts appear.Maintenance A v2.1.0 release with an expanded test matrix is a positive maintenance signal, but cadence and long-term support commitments are unknown. Track release frequency and issue responsiveness before committing.
Support Community support assumed; no commercial backing or SLA indicated by the notes. Internal ownership should include a fallback plan if upstream stalls.
Scaling Package-level dependency; no infrastructure scaling implications evident. Operational scaling risk is low, but forward-compatibility (Laravel major upgrades) is the primary long-term cost driver.
Failure modes
Ramp-up Low for Laravel teams already on 10 / PHP 8.2; documentation quality is unverified and should be checked before rollout. Teams on other framework/PHP versions face unquantified ramp-up pending compatibility confirmation.
How can I help you explore Laravel packages today?