SQL Injection Cheat Sheet : Samples are provided to allow reader to get basic idea of a potential SQL Injection attack and almost every section includes a brief information about...
Text_Highlighter : Provides functionality to perform syntax highlighting for different file formats.
API Security Checklist : Checklist of the most important security countermeasures when designing, testing, and releasing your API.
Idiorm and Paris : A minimalist database toolkit for PHP5.
Object relational mapper (ORM), fluent SQL query builder and Active Record implementation for PHP.
This is a collection of known design patterns and some sample code how to implement them in PHP. Every pattern has a small list of examples (most of them from Zend Framework, Symfony2 or Doctrine2 as I'm most familiar with this software).