Created
July 28, 2013 23:27
-
-
Save rmariuzzo/6100701 to your computer and use it in GitHub Desktop.
Sublime Text 2 snippet to listen for illuminate query on Laravel 4. Useful for profiling generated SQL queries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
Event::listen('illuminate.query', function($sql) {dd($sql);}); | |
]]></content> | |
<tabTrigger>sql</tabTrigger> | |
<scope>source.php</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment