Skip to content

Instantly share code, notes, and snippets.

@whyisjake
Created December 4, 2014 19:42
Show Gist options
  • Save whyisjake/18f1978858c6c61366d6 to your computer and use it in GitHub Desktop.
Save whyisjake/18f1978858c6c61366d6 to your computer and use it in GitHub Desktop.
PHP Console Add this to ~/Library/Application Support/Sublime Text 2/Packages/User
<snippet>
<content><![CDATA[?><script>console.log(<?php echo json_encode( \$${1:this} ); ?>);</script><?php]]></content>
<tabTrigger>phpconsole</tabTrigger>
<scope>source.php</scope>
<description>PHP Console</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment