What is wrong with this Laravel 5 response?

What are Laravel strengths compared to other PHP frameworks like Symfony 2?

  • Laravel (http://laravel.com) defines itself as "A Framework For Web Artisans, a clean and classy framework for PHP web development."

  • Answer:

    Documentation: the official documentation and the code comments are incredibly helpful. 95% of your questions about how to do something in Laravel can be answered simply by checking out the documentation ( http://laravel.com/docs/ ) or stepping through the code. Functionality over idealism: the framework has a pretty solid conceptual design, but isn't so precious that it will retain perfect abstractions rather than make your job easier. Laravel "feels" like a framework written by developers who have dealt with a lot of frustrations with other frameworks. It just works. The creators really have tried to remove all friction from the web development process. Very forgiving learning curve: it's incredibly easy to get a Laravel project up and running. It's also nicely separated so you don't get bogged down in the detail of components you aren't using or don't know how to use. Don't need to use the Eloquent ORM yet? No problem - unless you read the documentation you probably didn't even know it was there. The same applies for the IoC container,  Validation framework, etc... All that elegance and reductionism doesn't come without a cost - I can see how Laravel could quickly become messy for large enterprise level applications (I've only used it for small sites and web services) - but by the time you get to that point I'm sure you could look at breaking the application up into bundles. I've really been impressed with what I've seen of Laravel so far. It's really the first PHP framework that's made me not feel jealous of Rails developers. It gets out of your way and lets you create things.

Corey McMahon at Quora Visit the source

Was this solution helpful to you?

Other answers

Laravel strength lies in its simplicity: it is very opinionated and has a rich ecosystem. This makes it a framework of choice to deliver something quickly without having any deep knowledge of OOP and frameworks: The documentation is good Every choice has already been made: where to put what, choice of the template engine or ORM, etc. Homestead, Forge & Spark to speed up the development. If you take Symfony for example, it is a complete different beast. Symfony is composed of two things: Symfony components: standalone libraries, which are very popular and reused a lot in different projects (for your information, more than 50% of Laravel dependencies are Symfony components or Symfony related) FrameworkBundle: the glue between the components So unlike Laravel, Symfony is much more flexible and can be used as a micro-framework or a full-blown framework. Its documentation is great and promotes best-practices a lot more than Laravel. The drawback is that the learning curve is much steeper and requires much more OOP and PHP knowledge.In short, Laravel is simple, delivers a lot in a short amount of time without having require to be a good developer.If you need a maintainable application and have a skilled team, Symfony is likely to be more suited.

Théo Fidry

I started using laravel; it's very clean and well documented, at (for me) the right level of abstraction. It makes my code pretty. I like it better than code igniter, fuelphp or kohana. Ymmv

Peter Van Dijck

Considered the most friendly for newbie developers thanks to it almost absent learning curve, Laravel is number one in our list. Whether it's good or bad is a topic for another many-hours-long discussion, but perfect documentation and support of a large community is a doubtless advantage. Another acknowledged feature lies in the fact that Laravel is developer friendly, which increases the number of its supporters. “Powerful” and “elegant” Laravel is sometimes compared to CodeIgniter, for some of their common features, but unlike Laravel, CodeIgniter is believed to be “dead”. There’s another fact in favor of Laravel - along with other popular packages it contains some components of Symfony which is really good and makes it more reliable. A huge plus to its reputation is that Laravel is supported by Facebook HHMV, so take it seriously. Here you can read more about http://ddi-dev.com/company/blog/15-php-frameworks-hall-fame/.

Daria Bastanzhieva

Actually, Laravel uses some components of Symfony. It doesn’t mean that the components are simply built-in. In fact, the Laravel structure consists of different components including some transformed or supplemented Symfony parts.The obvious Laravel advantages are simplicity and relative code terseness. Thus, you can greatly reduce code writing time.Here you can read a review of Laravel based on the impression of a Symfony developer: http://cases.azoft.com/php-framework-review-laravel/

Aleksandra Seremina

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.