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

Laravel Query Inspector Laravel Package

mouadziani/laravel-query-inspector

Laravel Query Inspector lets you see the SQL your app actually runs—log queries with bindings, execution time, and where they came from. A lightweight debugging aid for spotting slow, duplicate, or unexpected database calls during development.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping: If the roadmap includes admin/reporting workflows built on Laravel’s query builder rather than Eloquent models, release 1.0.1 removes a likely adoption blocker. The package can now be considered for those surfaces instead of requiring a parallel custom implementation.
  • Build vs. buy: The new query builder support broadens the “buy/adopt” case for teams with mixed data-access patterns—especially legacy modules, reporting queries, or high-volume paths that intentionally avoid Eloquent. It reduces the amount of glue code a team would otherwise own.
  • Standardization/consolidation: Teams can evaluate using one package consistently across Eloquent and query builder call sites, rather than splitting behavior between a package and bespoke logic. This is a maintainability and consistency decision more than a raw feature decision.
  • Use cases to validate: Filtering, sorting, pagination, auditing, or similar cross-cutting behavior applied to query builder statements. Because the release note is terse, confirm the depth of support (joins, aliases, raw expressions, nested conditions) before committing roadmap dependencies.
  • Risk posture: This is a minor 1.0.x release, so treat it as incremental. It is suitable for a pilot or non-critical surface first; do not treat “query builder support” as equivalent to full parity with the Eloquent path without verification.

When to Consider This Package

Consider adoption when:

  • Your codebase meaningfully uses Laravel’s query builder alongside Eloquent, and you need consistent behavior across both.
  • You are evaluating a package for a cross-cutting concern and the absence of query builder support was the main reason to reject it.
  • You want to reduce custom glue code in reporting, admin, or data-access layers that do not use Eloquent models.
  • The package’s core Eloquent behavior is already acceptable to your team and you need incremental coverage, not a new platform bet.

Look elsewhere or defer when:

  • Your application is effectively Eloquent-only; the new capability adds little practical value.
  • You need proven, documented parity across complex query builder usage (joins, subqueries, raw expressions, unions). The release note alone does not establish that.
  • The package is early-stage and lacks tests, documentation, or a clear support policy. At 1.0.1, maturity signals matter more than a single feature addition.
  • You require guarantees around backward compatibility or long-term maintenance that a small package cannot provide.
  • The query builder support is shallow and would force fallbacks to custom code anyway, eroding the buy case.

How to Pitch It (Stakeholders)

For executives: A minor release added support for Laravel’s query builder, extending the package beyond Eloquent-only usage. This is a small, low-risk expansion that could reduce custom code and let us standardize behavior across more of the application. It does not change our strategic options on its own, but it removes a prior adoption blocker for query-builder-heavy areas such as reporting and admin tooling.

For engineering: Version 1.0.1 adds query builder support. Treat it as an incremental capability, not full parity. Before adopting, verify coverage for joins, aliases, nested conditions, and raw expressions, and check test coverage and documentation. If the Eloquent path already meets our needs, this release mainly improves consistency for mixed data-access code. Recommended next step: a short spike applying it to one non-critical query builder workflow and comparing behavior against the Eloquent path.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource