How to get query builder to output its raw SQL query as a string in Laravel?
Published by on
Learn how to get the raw SQL string from a query builder in Laravel the easy way. Get to know this information to inspect the query used to retrieve the data.
You could also use ray($query) to see the query in Ray.
At our latest hackathon, we built Live at Spatie, a Laravel and React wrapper around Owntone that lets the whole team queue music, see what’s playing, and control the office speakers. The nicest touch is Read more…
Peter Suhm shares a simple Todoist setup that separates tasks due on a specific day from tasks that just need to happen this week. The heart of the system is a single custom filter that Read more…