It's easy to learn, faster development time, use of migrations, speed, RESTful routing, Its own templating engine, easy to do tests with, composer powered, Symfony components,, Eloquent ORM for ease of use.
Need I go on.......
By far the best framework around and has been for the past couple of years and it's getting stronger.
You are of course going to get mainly laravel positive questions asking this in the laravel forum. But for me it just made sense (coming from CI) after the initial learning curve of composer etc. I tried yii, but we didn't get on,
They are both decent frameworks - so go with what works for you and the team
As I convinced my employer to switch here are some arguments:
Learning resources - I had to learn Yii from a few blog posts and their documentation sigh, compare this with Laravel:
Also
If you combine the docs, Laracasts and a few eBooks you can be making meaningful code contributions within a week, and advanced ones within a month. I haven't hit any major hurdles like I have in Yii.
I hope this helps! Try picking a few topics (like Environment Configuration or Mandrill email integration, whatever you plan to use it for) and compare what you would need to do with Yii and Laravel. I'm confident that Laravel will win 90% of the battles!
Yii was a nightmare at the time I tried it well over a year ago. There was hardly any decent docs and I spent my time trying to make sense of the code. Any project that does not give a high priority to the documentation has no credibility. It felt like there was an inner sanctum led by the guru and all others including myself were outsiders. I am not a beginner. I have more programming experience than most people reading this have been alive. But Yii was impregnable. It should be renamed Hurdle.
In contrast I am very happy with Laravel. It was a pleasant experience. If I had to change anything in Laravel it would be to simplify the features where there are two or more ways of doing the same thing. Some call it flexibility. I call it confusion.
jgestiot said:
Yii was a nightmare at the time I tried it well over a year ago. There was hardly any decent docs and I spent my time trying to make sense of the code. Any project that does not give a high priority to the documentation has no credibility.
Couldn't agree more with that. I need to spend my time producing with a framework, with Yii I was just trying to understand it.
I too made the switch from Yii to Laravel. I tried Yii 2 and it was just way too much of a hassle to get anything to work right. Their documentation also leaves much to be desired. It just was not practical and, although I am new to Laravel, I was able to get things done much faster and more efficiently. I don't think I will ever look back.
Oh, this chart should really spell it out. It's not an exact science, but the chart shows how Laravel's relative growth eclipses the competition!
Take everything I mentioned above and imagine what it will be like in a year's time! ;-)
Hi you can get information from here. http://agriyaservices.blogspot.in/2015/07/which-is-best-php-framework-laravel-vs.html
For this content explain about importance of laravel and importance of Yii. I hope this content will be helpful for you!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community