Permalink
Browse files

Updated README with latest snippets

  • Loading branch information...
1 parent c97aecb commit 05a0bfb6d615af20400f366d40a8f9a5efd4348e @stuartherbert committed Feb 3, 2012
Showing with 10 additions and 3 deletions.
  1. +9 −2 README.md
  2. +1 −1 license-mit.sublime-snippet
View
@@ -6,7 +6,7 @@ Additional PHP Snippets For Sublime Text 2
Installation
------------
-We're waiting to be added to [Package Control](http://wbond.net/sublime_packages/package_control), so for now you'll need to clone this repo into your Sublime Text 2 "Packages/" folder.
+Use Sublime Text 2's [Package Control](http://wbond.net/sublime_packages/package_control) (Preferences -> Package Control -> Install Package -> Additional PHP Snippets) to install this plugin.
Snippets
--------
@@ -15,8 +15,15 @@ We add the following snippets to speed up writing PHP code.
To use any of the snippets, simply type the name of the snippet, then press the <TAB> key. Sublime Text 2 will insert the snippet, and you can then use the <TAB> key to move through any placeholders that you need to replace.
-* __license-newbsd__: insert the new BSD license (eg into LICENSE.md-type files)
+__For LICENSE.md-type files:__
+
+* __license-mit__: insert the MIT license
+* __license-newbsd__: insert the new BSD license
+
+__ For PHP files:__
+
* __php-getset__: create getter/setter methods quickly and easily (based on a snippet originally published by @akrabat)
+* __php-mit__: insert the MIT license as a PHP docblock
* __php-newbsd__: insert the new BSD license as a PHP docblock
* __php-section-comment__: insert a prominent comment to help break up the sections of your class
@@ -16,7 +16,7 @@
MIT License
===========
-Copyright (c) 2011 ${1:[Your name]} <${2:[Your email]}>
+Copyright (c) 2012 ${1:[Your name]} <${2:[Your email]}>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),

0 comments on commit 05a0bfb

Please sign in to comment.