It's easy to find great examples of C (Redis, Git), but not easy to find good PHP. Anyone know where to look to find good PHP code worthy of study?
found this on reddit:<p><a href="http://www.reddit.com/r/PHP/comments/a9mio/lets_compile_a_list_of_really_good_oo_php_5_code/" rel="nofollow">http://www.reddit.com/r/PHP/comments/a9mio/lets_compile_a_li...</a>
There are several Frameworks that feature the most well written code out there.<p>Symfony is one of them and has some of the best PHP code out there:<p><a href="https://github.com/symfony/symfony/" rel="nofollow">https://github.com/symfony/symfony/</a><p>As well as Aura: <a href="https://github.com/auraphp" rel="nofollow">https://github.com/auraphp</a><p>And Laravel:
<a href="https://github.com/laravel/laravel" rel="nofollow">https://github.com/laravel/laravel</a>
May start here: <a href="https://github.com/search?l=PHP&o=desc&q=php&s=stars&type=Repositories&utf8=%E2%9C%93" rel="nofollow">https://github.com/search?l=PHP&o=desc&q=php&s=stars&type=Re...</a> and see what you find.<p>Particularly, the newer PHP frameworks, Guzzle, Composer, and PHPUnit are good to look at.
Laravel is very well written and has some really cool stuff going on, particularily the IOC container.
<a href="https://github.com/laravel/laravel" rel="nofollow">https://github.com/laravel/laravel</a>
Have heard great things about CodeIgniter's source: <a href="https://github.com/bcit-ci/CodeIgniter" rel="nofollow">https://github.com/bcit-ci/CodeIgniter</a>
Within the last year, I think, somebody posted a link on HN to early Facebook code. I hardly glanced at it, but I remember that it looked well-structured and perhaps well-commented.
Try checking these out:<p><a href="http://thephpleague.com/" rel="nofollow">http://thephpleague.com/</a><p>They are very high-quality libraries.