Where can I find PHP coding convention references for PHP coding standards?
+8
A:
Zends Coding Standard: http://framework.zend.com/manual/en/coding-standard.html
Björn
2009-12-08 00:21:48
Good answer. Thanks. Link was helpful.
Moshe
2009-12-08 00:23:39
+5
A:
The PEAR coding standards have been around for a while now. I believe they are the default for the PHP code sniffer.
Ewan Todd
2009-12-08 00:30:30
Interesting. I'm not into PEAR, though. I am not a fan of large frameworks unless I really need them (which I haven't until now.)
Moshe
2009-12-08 00:36:04
Zend is a large framework. PEAR is a just a candy store with cool stuff from the community in it.
Ewan Todd
2009-12-08 00:54:25
@Misery - Very small stuff. Image uploaders with a database backend. I've toyed with logins. I am playing with the idea of building a CMS.Petty things like I said.
Moshe
2009-12-08 00:55:36
+2
A:
I would also like to mention that another popular framework, CakePHP, has their own conventions.
+1
A:
I would recommend looking at the FLOW3 Coding Guidelines. It is very good.
Hanse
2009-12-12 15:35:17