Cakefest-2011 is a project mainly written in PHP, it's free.
coupling and cohesion talk - code examples
Code examples that go with my talk from CakeFest 2011
http://www.slideshare.net/dogmatic69/coupling-and-cohesion