PHP Coding Standards
Please follow:
Thrift General Coding Standards
PSR-2