D
D
dizzy72016-03-09 10:55:07
symfony
dizzy7, 2016-03-09 10:55:07

What are the advantages of laravel5 over symfony2?

I must say right away that the question is not asked for the sake of a holivar. I have been working with symfony2 for more than a year, I decided to try out laravel in order to broaden my horizons. In this connection, the opinion of people who have worked with both frameworks is of interest - what are the advantages of laravel over symfony. I will make a reservation right away - the arguments "simplicity and clarity" are not arguments for me - the symphony has been studied up and down, therefore it does not seem difficult. Yes, the entry threshold is high, but after studying everything is logical, simple and understandable. I would like to understand why it is worth trying laravel, what it can give.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey Ukolov, 2016-03-09
@dizzy7

If you feel like a fish in water in Symfony, then Laravel will not give you anything new - it is built on Symfony components, the architectural principles are the same. Only in Laravel, all this is hidden behind convenient facades.
On the other hand, if you understand Symfony, and generally have decent development experience and a head on your shoulders, then you will spend more time reading the answers here than learning Laravel.

O
OnYourLips, 2016-03-09
@OnYourLips

These are tools for different tasks. It cannot be said that one of them is better than the other.
With Laravel it is easier in startups: to quickly code and release.
Symfony is a priority where code quality is important, but because of this, the product will be more expensive and will take longer to develop.

A
Andrey, 2016-03-09
@VladimirAndreev

a line in the resume it can give

M
Mikhail Osher, 2016-03-09
@miraage

Personally, in my case:
DI:
+ it’s more convenient to inject services
- you can’t inject DB variables
:
+ it’s more convenient to work with Eloquent than with Doctrine
+ convenient QueryBuilder
Console:
+ generators of events, models, migrations, etc.
+ tinker
Validation:
+ a lot of built-in validation rules
+ validation in controllers via FormRequest
Others:
+ multiple authorization out of the box
+ RBAC out of the box
+ more flexible routing/middleware
+ helpers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question