PHP framework - Which one is more used in China, Yii2 or laravel?
黄舟
黄舟 2017-05-16 16:53:49
0
4
609

I learned Yii2, and I feel it is pretty good. Its performance is better than laravel. However, I feel that Yii2 does not have as many open source applications as laravel, and it does not seem to be very active. Domestic companies use yii2 more than laravel. I want to learn a more promising framework, and I hope you can give me some guidance.

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(4)
習慣沉默

If you are playing by yourself, learn from Laravel是不错的选择,因为这是一个符合协作精神的框架,它本身都是其它框架结合而成的,而其社区也有很多有意思的插件,很适合喜欢捣鼓的同学。但是其并非是个高性能的框架,加上插件都来源于协作,其可靠性并不能得到很好的保证,所以并不是一个适合企业使用的框架(当然我也遇到过好几个使用Laravelthe company).

Yii2虽然比Laravel在插件和社区上差一些,但是毕竟算一个独立框架,而其性能也是其改善的目标(这个相比于花哨的,为艺术家提供的Laravel要好很多),所以在企业层面上的使用率要高于Laravel.

However, for most companies in China that use third-party frameworks, ThinkPHPis considered to be widely used. It is developed by Chinese people and has complete Chinese documentation. It also has good support for domestic cloud computing service providers.

淡淡烟草味

I don’t quite agree with the following two views of You Ming

  1. ...Laravel...it itself is a combination of other frameworks...

  2. ...Laravel...is not a framework suitable for enterprise use...

The first one, Laravel core components come from Symfony, and the latter is one of the most reliable enterprise-level frameworks in the current PHP framework (probably the best). In addition to standing on the shoulders of giants, Laravel's own Illuminate namespace or its framework itself is the attractive part of the framework (extremely friendly and elegant programming interface). Not a simple combination of existing components.

Article 2, aren’t open source frameworks all about source and collaboration? If Laravel is considered unreliable for this reason, does it also prove that all open source software is unreliable? Even Linux?

Finally, take a look at the Github data of the three frameworks (plus Symfony) (2016-03-30 23:45). The differences are as follows. You can judge for yourself!

框架        代码提交次数        Star数量        开发者数量        首次发布日期
Symfony    25,662             12,032         1,298            2005-10-22 
Yii2       14,596             7,800          603              2006-10(Yii)     
Laravel    4,792              22,427         323              2011-6   
世界只因有你

Celebrities are divided into idol groups and powerful groups.
If the domestic survey framework is slightly used, ThinkPHP tops the list.
Laravel ranked first abroad in 2015.

Ah! Are you slandering something or implying something? My answer is maybe yes!
So why not use YAF? Brother Bird’s framework haha.

phpcn_u1582

In China, thinkPHP must be second to none. Like me if you agree!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template