Tips using phpDocumentor

I built a batch file that understands how to generate the documentation for my project.  Here are some points that I think are noteworthy for future reference: When using a batch file (instead of just going through a command-line), ensure that we call pear before...

Installing phpDocumentor

I wanted to create documentation for my most recent PHP project.  My code was all set and in a form that it should be in – I just needed a way to generate the docs.  I considered two options: phpDocumentor ApiGen Ended up going with phpDocumentor because it...

Installing PEAR on Windows 8

PEAR is the PHP Extension and Application Repository.  It’s basically an add-on to PHP that has a bunch of frameworks that are available.  You can read more about it at the official site. Getting PEAR onto my system was not obvious.  I came across two articles...

PHP multiple inheritance

Was double-checking this today and confirmed that PHP does not support derivation from multiple classes.  But worthy of writing this article was a new construct introduced in PHP 5.4: traits. Traits mostly remind me old-school C pre-processor #define calls.  So, I can...