|Added at||2016-12-13 11:12|
By asking around, many have answered that I should be using PSR-2 because its the official style guide for PHP. Researching a little bit shows that it is not the official style guide, but it is unarguably the most popular one.
I have noticed that the larger PHP open source projects (such as MediaWiki and WordPress) have their own consistent style guides. But is it a good idea to adopt these for another project? I don't think I've ever encountered another project that adopted these code standards.