I've just published a tutorial on Code Templates in NetBeans IDE for PHP
. This tutorial consolidates Petr Pisl's original blog post
and Tomas' post on improvements to Code Template support
. It also has a section on code template syntax, including a table of PHP-specific hints. Lastly, there's a section with some use cases for creating your own code templates, suggested by Filip. Please let me know here or in a Feedback email if there is anything more you'd like covered, or if you have some more common use-cases.