TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Examples of good PHP code (entire projects) where can I find them?

9 点作者 omilu超过 10 年前
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?

13 条评论

omilu超过 10 年前
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:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;PHP&#x2F;comments&#x2F;a9mio&#x2F;lets_compile_a_li...</a>
chrisjlee84超过 10 年前
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:&#x2F;&#x2F;github.com&#x2F;symfony&#x2F;symfony&#x2F;</a><p>As well as Aura: <a href="https://github.com/auraphp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;auraphp</a><p>And Laravel: <a href="https://github.com/laravel/laravel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;laravel&#x2F;laravel</a>
leftnode超过 10 年前
May start here: <a href="https://github.com/search?l=PHP&amp;o=desc&amp;q=php&amp;s=stars&amp;type=Repositories&amp;utf8=%E2%9C%93" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search?l=PHP&amp;o=desc&amp;q=php&amp;s=stars&amp;type=Re...</a> and see what you find.<p>Particularly, the newer PHP frameworks, Guzzle, Composer, and PHPUnit are good to look at.
hashtag超过 10 年前
I find it a bit funny that all the recommendations here are of php frameworks and none that are projects built in php outside of that
评论 #8576937 未加载
ainiriand超过 10 年前
You can look at the source of the symfony httpfoundation bundle, it is the best php code in my opinion.
aegabriel超过 10 年前
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:&#x2F;&#x2F;github.com&#x2F;laravel&#x2F;laravel</a>
dubin超过 10 年前
Have heard great things about CodeIgniter&#x27;s source: <a href="https://github.com/bcit-ci/CodeIgniter" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bcit-ci&#x2F;CodeIgniter</a>
cafard超过 10 年前
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.
nikkob超过 10 年前
Try checking these out:<p><a href="http://thephpleague.com/" rel="nofollow">http:&#x2F;&#x2F;thephpleague.com&#x2F;</a><p>They are very high-quality libraries.
mahadazad超过 10 年前
Checkout Zend Framework 2 source code.
adidash超过 10 年前
wordpress.org
fiedzia超过 10 年前
&#x2F;dev&#x2F;null
ninjaplease超过 10 年前
No such thing. Use a real language.