L
L
likemusic2014-01-07 11:18:19
Yii
likemusic, 2014-01-07 11:18:19

Laravel or Yii - what is the best way to start website development at the moment? What are the differences?

It is necessary to start developing a catalog of companies, with reviews, comments, ratings, in the future it is planned to gradually develop and refine.
At the moment, I realized that it is better to use Yii or Laravel.
Interested in the opinion of knowledgeable people, what is more flexible for customization?
What are their fundamental differences in architecture, what are the main differences?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
O
OnYourLips, 2014-01-07
@OnYourLips

Here they will praise what they themselves use. In Russia, Yii is more popular.
But I recommend trying both to decide for yourself (in favor of Laravel) :)

A
Alexander Gubarev, 2014-01-07
@AlexGx

For myself, I decided this issue in favor of Yii. Yii and Symphony2 (and its forks) are slightly different niches.
Symphony2 (Laravel): correct and academic. A bunch of layers of abstraction, patterns, everything is cunningly loaded. Some things are easy and quick to implement, but much more difficult to debug (again, due to the large number of abstraction levels).
Yii: refers more to practical frameworks.
Benefits:
-Easier to learn.
-Less magic.
-Less layers.
-Less configuration.
-Simple and convenient API.
+ to all this good documentation, community, perhaps the fastest PHP framework at the moment.
++ Yii can work with Symfony 2, ZF2 components and all libraries from Composer.
Related presentation:PHP, frameworks, Yii2

Interested in the opinion of knowledgeable people, what is more flexible for customization?
I can't say that one of them is more or less flexible than the other, but in Symphony the configuration process itself has always taken me a little more time.
What are their fundamental differences in architecture, what are the main differences?
I tried to answer in the post, also see the presentation.
PS yes my answer is biased, I praise Yii =)

V
varz62, 2014-01-07
@varz62

I am for Laravel and Symfony 2 but again this is my personal opinion.
Whoever is more comfortable or what you know better is usually advised.
As for the laravel documentation, there are not very many tutorials and materials besides the translation of the official documentation.
Although I think this is not a reason to refuse it.
But it must be admitted that Yii is more popular in the Russian-speaking sector.

A
Alexey, 2014-01-07
@xelam

I advise you to look towards Laravel. You can write a lot about the benefits, but this one vk.com/laravel_rus?w=wall-53758340_1590 should convince you.
Or according to Symfony blog.eramax.org/?p=410

R
Roman Makarov, 2014-01-07
@vollossy

I will join @OnYourLips - the adherents of this or that framework will mainly praise. I myself used yii for new projects for the first time, but now, in order to attach more or less modern technologies from Pykhomir (the same codeception), you need to work hard (the framework was made with an eye on 5.2). Now I caught myself thinking that I work a very large proportion of the time, trying to get around some of the limitations of the framework. Almost all of them are related to the use of active record or widgets. Plus, yii still has quite a strong cohesion, unlike the same Symfony, which is essentially a kind of Swiss Army knife - a large number of classes, if not for everything, then for many occasions.
In general, if the project is large, with rather complex business logic and is constantly evolving, then I would still campaign for Symfony2, or for using aura php components. I apologize if the answer is somewhat confusing.

E
Evgeny Skuridin, 2014-01-07
@skuridin

I worked with both frameworks, both are good, but the documentation for Yii seemed more accessible and understandable to me.
I would add Symfony 2 to the list.

D
demettriss, 2015-03-12
@demettriss

for those who primarily rely on php itself - according to] [what framework to write on ...
I'm working at a new job for a week now ...
and I just found out that laravel is worth it ...
I thought yii has changed ))) ( in terms of folder structure)

I
igorRovenki, 2015-03-12
@igorRovenki

I would recommend looking into Laravel or Symfony. We are currently using Symfony2. As long as everyone is happy:
You can also see the article about choosing Laravel vs Symfony: devsize.ru/laravel-vs-symfony-5-steps-choosing-fra...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question