Please note:Every snippet has an author doc comment with my name, feel free to change it with your own :)
Plain PHP Snippets
interface
Type phpi
and press TAB.
![Sublime Text Snippet Snippet Demo](images/phpi.gif)
class
Type phpc
and press TAB.
![Sublime Text Snippet Snippet Demo](images/phpc.gif)
constructor with a dependency injected
Type const
and press TAB.
![Sublime Text Snippet Snippet Demo](images/const.gif)
property
Type prop
and press TAB.
![Sublime Text Snippet Snippet Demo](images/phpi.gif)
method
Type meth
and press TAB.
![Sublime Text Snippet Snippet Demo](images/meth.gif)
Laravel Snippets
has one relationship
Type relho
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relho.gif)
belongs to relationship
Type relbt
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relbt.gif)
has many relationship
Type relhm
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relhm.gif)
belongs to many relationship
Type relbm
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relbm.gif)
has many through relationship
Type relht
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relht.gif)
morph to relationship
Type relmt
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relmt.gif)
morph many relationship
Type relmm
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relmm.gif)
morph to many relationship
Type relmtm
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relmtm.gif)
morphed by many relationship
Type relmbm
and press TAB.
![Sublime Text Snippet Snippet Demo](images/relmbm.gif)
scope
Type scope
and press TAB.
![Sublime Text Snippet Snippet Demo](images/scope.gif)
accessor
Type accessor
and press TAB.
![Sublime Text Snippet Snippet Demo](images/accessor.gif)
mutator
Type mutator
and press TAB.
![Sublime Text Snippet Snippet Demo](images/mutator.gif)
twitter bootstrap input
Type tbi
and press TAB.
![Sublime Text Snippet Snippet Demo](images/tbi.gif)
facade
Type facade
and press TAB.
![Sublime Text Snippet Snippet Demo](images/facade.gif)
Testing Snippets
PHPSpec test
Type spec
and press TAB.
![Sublime Text Snippet Snippet Demo](images/spec.gif)
PHPUnit setUp
Type setup
and press TAB.
![Sublime Text Snippet Snippet Demo](images/setup.gif)
PHPUnit tearDown
Type teardown
and press TAB.
![Sublime Text Snippet Snippet Demo](images/teardown.gif)
PHPUnit test
Type test
and press TAB.
![Sublime Text Snippet Snippet Demo](images/test.gif)