Create your own snippets and organise theme.
To use it just clone the repository or download the zip file and unzip it and place it in the package/user folder. see the picture below for how to get package folder on mac.
create file with .sublime-snippet extension and copy and paste one of the example to edit it for you need`
If you want to use "$" for variables make sure to escape it with '\'`
For instance:
<snippet>
<content><![CDATA[\$this->assertEquals (${1:});]]></content>
<tabTrigger>equal</tabTrigger>
<scope>source.php</scope>
<description>Assert Equals call</description>
</snippet>`

