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

To Raw Sql Laravel Package

pyaesoneaung/to-raw-sql

Inspect the SQL behind your Laravel query builder and Eloquent queries. to-raw-sql converts builders into readable raw SQL strings, making debugging, logging, and optimization simple. A lightweight helper with a clean API for development.

View on GitHub
Deep Wiki
Context7

pyaesoneaung/to-raw-sql is a lightweight Laravel package that lets you inspect the exact SQL your Query Builder and Eloquent queries will run. Instead of logging a query string with ? placeholders and a separate bindings array, it renders the final statement with all bindings safely inlined—so you can copy, paste, and debug directly in your database client.

  • Adds toRawSql(), dumpRawSql(), and ddRawSql() to query and Eloquent builders
  • Produces a complete, executable SQL string with bindings interpolated
  • Works seamlessly with where, joins, and nested query logic
  • Zero configuration—install and start calling the macros
  • Ideal for debugging, logging, and sharing queries with teammates
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.
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
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings