Document your PHP code

bookmark bookmark bookmark bookmark bookmark bookmark

Few days ago in an online interview session I was asked if I follow any convention while I do PHP coding. My straight answer was ‘No’. In fact, before I started coding in PHP, learned JAVA and started to follow JAVA coding style and convention and have been applying these in PHP too!

Yesterday, google gave me a long list of articles on PHP coding conventions; while going through http://framework.zend.com/manual/en/coding-standard.coding-style.html I was thinking if there is something that would help me to do PHP documentation much like javadoc, which does JAVA documentation.

I was not expecting the existence of such tool but surprisingly there is phpDocumentor! Yummy!

Leave a comment

Your comment