Poll: Which one is the best?
You do not have permission to vote in this poll.
Symfony
15.00%
3
15.00%
Yii
0%
0
0%
Zend
0%
0
0%
Laravel
55.00%
11
55.00%
Other
20.00%
4
20.00%
I don't use/like frameworks
10.00%
2
10.00%
Total
20 vote(s)
100%
* You voted for this item.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Symfony, Yii, Zend, Laravel

#1
Let’s discuss the most popular frameworks, like which one is better, and share our actual experience. I’m not sure there will be a lot of people who actually worked with them, since they are more commonly used in big corporate projects, but... It won’t hurt to have such topic. My first two questions to all of you:
1.    Symfony vs. Yii – which one is better? Does Symfony’s performance really so much lag behind as Yii community likes to say?
2.    Annotations vs. YML – pros and cons?
#2
Right now, from my point of view, in the PHP enviroment Laravel is the most powerful framework. It has a great community, great documentation, takes the best of many other frameworks (such as Symfony, ORM/ActiveRecord).

Take a look at the google trends, perhaps is not the way for determining wich one is better but if many people are changing their search terms, there would be a good reason.
https://www.google.com/trends/explore?q=...m%2F0cdvjh
#3
(01-24-2017, 03:48 AM)reynerhl Wrote: Right now, from my point of view, in the PHP enviroment Laravel is the most powerful framework. It has a great community, great documentation, takes the best of many other frameworks (such as Symfony, ORM/ActiveRecord).

Take a look at the google trends, perhaps is not the way for determining wich one is better but if many people are changing their search terms, there would be a good reason.
https://www.google.com/trends/explore?q=...m%2F0cdvjh

Finally someone who use frameworks! Thank you for your opinion!

Well, I'm absolutely the Symfony guy! I don't think the Laravel can win comparison with Symfony if we're going to compare the community size and available documentations. I think the Symfony, being more mature, has bigger community. When it comes to the actual features of frameworks, it is much harder to compare. Symfony has great modularity, while Laravel not so much. Personally, I love Doctrine. In my opinion it's better than Eloquent (which is a bit simplified). The additional control via getters and setters in entities (and documents) adds another layer of flexibility. Powerful decoupled repositories. I heard the Laravel has worst performance in prod environment. But, of course, in the end it all comes to the personal preferences.
[-] The following 1 user Likes jipol's post:
  • reynerhl
#4
I don't know anything about Symfony so I can't compare it to Laravel. But as a Laravel users, I found it really easy to learn, and there are a lot of documentation found with google if I found problems.
#5
I voted for "don't use / don't like" - but I DO use them ... I just don't like them. They're a tool, and I've filtered through a LOT of garbage to come up with what I use. I don't like them because they add overhead. Usually a LOT of overhead - and I don't use them for much.

The one I use and like most, is Phalcon. You've got to have a VPS because you're installing Apache modules, but most all my sites are on a VPS now anyway. My second in line is Laravel. It's by far the most popular, and has a larger community which is helpful. I've used Slim more, because I don't use tons of framework functionality, and I'm adverse to Composer.

Phalcon is an Apache module so it's compiled in C giving it the potential to be faster than any framework in PHP (provided it's coded reasonably well, and it is). I use a framework basically for routing, and a template engine. I can get both without one, but why? I don't use ORM, and I really don't like it. My models are classes that run sql. My front controller doesn't use "mvc" routing where the url is /controller/method/variable1/variable2 ... I define them all. So I don't need or want a heavy framework. I don't like my code interspersed with a million libraries I'll never use. I don't like to dig through frameworks code to get to directories where my controllers are, or where my views are. So Phalcon, it's all your code in PHP, you're calling C code through the Apache module instead of a a bunch of crap in the Composer directory structure.

Best for me: Phalcon, because devops isn't a problem, it's template engine is excellent, and it's all fast.
Best for most: Laravel, because all the tutorials / walk throughs love Composer, and Laravel is made for that environment. It's very full featured, and the most popular by far. Best documentation, and it's respectably fast considering it's features.
Best for some: Slim. Especially if you're building an API and all you need is a router. You can even drop Eloquent in there if you need an ORM. I used to use it with Twig - but since I do the "no Composer" method, it's install isn't any easier than Phalcon which is orders of magnitude faster.
#6
Nowadays, Laravel getting popular compared to other PHP frameworks. Using laravel, the development is very fast and secure and provide well-organized, reusable and maintanable code with it's elegant syntax.
#7
I voted for Other because i use codeigniter framework, but now i try to use laravel to, but not yet for real development.
cause newbie with laravel Pardon
[-] The following 1 user Likes stoneboy's post:
  • Jimit
#8
Hey

First I would like to share my ideas about my favorite framework, Codeigniter that is. It has the least footprint out there, compared to all the other frameworks.
HMVC is the most attractive thing I find in it.
It has one con, it's routing system is still behind most other frameworks, but there are solutions thanks to it's very high capability of being extended, and by using one only extension, it has the power of Laravel's routing.

Now, to your first question. Yii(2) is known for it's very high performance and speed while Laravel is very slow in comparison and rumors are true in this sense. But it lacks to many features of Laravel's such as routing which Laravel is know for. 
Yii is not too active, while Laravel is. Laravel is very much more and better documented compared to Yii(2).

So the answer is obvious (to me), Laravel wins (9 - 1).
#9
I chose Other because I used to study CodeIgniter in school. However, I don't really code backends so much so my opinions don't really matter lol. Anyway, if I really do going to code backend again, should I use Laravel? My friends suggested it to me and I see a lot of positives in here. It'd be appreciated if someone can tell me where to start. Thanks!
#10
I have to say laraval is a nice framework, easy to use and quick to get started.

But for some better frameworks I would use React with a PHP api over any of the listed above. React is much simpler to code and use and very versatile.

Check out 
Quote:react js
#11
(05-09-2017, 07:43 PM)muraziii Wrote: I chose Other because I used to study CodeIgniter in school. However, I don't really code backends so much so my opinions don't really matter lol. Anyway, if I really do going to code backend again, should I use Laravel? My friends suggested it to me and I see a lot of positives in here. It'd be appreciated if someone can tell me where to start. Thanks!

Yeah, I would suggest Laravel as well. For starter, start learning how to install it on your system. Then, understanding the concept of MVC, because Laravel is a framework based on MVC.
#12
Hi, 

 I love CodeIgniter, it's easy, secure and have MVC pattern. I great for all project sizes and help you to develop fast.

 Laravel is a great choice, but it learning curve is more difficult due to a strict programming style in PHP, but still recommended.

Best regards!
  




Users browsing this thread:
1 Guest(s)

Symfony, Yii, Zend, Laravel350