laravel 哪个是最好的 php 框架?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16249974/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 07:44:26  来源:igfitidea点击:

Which is the best php framework to start with?

phpzend-frameworkyiilaravel

提问by sandhus

It is the first time i am going to use any php framework and i am confused among zend framework, yii & Laravel. Also which one has better community.

这是我第一次使用任何 php 框架,我对zend 框架、yii 和 Laravel感到困惑。还有哪个社区更好。

采纳答案by kabra

I learned Yii and Laravel v4. In my opinion only 2 good.

我学习了 Yii 和 Laravel v4。在我看来只有2好。

Yii - Really good and old framework with many ready libraries.

Yii - 非常好的老框架,有许多现成的库。

Laravel 4 - new framework, better then yii, new modern and best solutions there. But there is not many ready libraries yet.

Laravel 4 - 新框架,比 yii 更好,那里有新的现代和最佳解决方案。但是现成的库还不是很多。

I moved to Laravel 4, beucase i believe it is the best framework for this day. It is easy and elegant.

我搬到了 Laravel 4,因为我相信它是当今最好的框架。它简单而优雅。

If i were you, i will learn one of this two what i wrote. Because i choose Laravel 4 after learned Yii, i recommend Laravel.

如果我是你,我会学习我写的这两个中的一个。因为我学了Yii后选择了Laravel 4,所以推荐Laravel。

回答by Mahesh.D

Choosing a framework will not depend upon the popularity of the frameworkor something else,it totally depend upon our project requirements.

选择一个框架并不取决于框架的流行程度或其他什么,它完全取决于我们的项目需求

For that we need to go through features of different frameworks providing for us,then finally it will be in our hand's to choose the frameworks keeping above points in mind.

为此,我们需要了解为我们提供的不同框架的特性,然后最终将在我们手中选择记住以上几点的框架。

I'm using KOHANA 2.xfor my project, it have almost all the features for modern web development.

我在我的项目中使用了KOHANA 2.x,它几乎具有现代 Web 开发的所有功能。

回答by AlexP

Its very much about personal preference and the scope of your project. Zend will make you a better developer, it's very well written. Albeit hard to learn if your new to frameworks, but good documentation, support, community etc even commercial support, if u want it, from the people who made PHP

这在很大程度上取决于个人喜好和您的项目范围。Zend 会让你成为更好的开发者,它写得很好。尽管很难学习您是否不熟悉框架,但是良好的文档、支持、社区等甚至商业支持,如果您需要,可以从制作 PHP 的人那里获得

回答by half-fast

I've used several, and many are good, but from my experience with 6 or 7 frameworks, cakephpis the easiest, with Yii probably being the fastest performance-wise. Cake is an all around good framework.

我用过几个,很多都很好,但根据我使用 6 或 7 个框架的经验,cakephp是最简单的,而 Yii 可能是性能最快的。Cake 是一个全方位的好框架。