際際滷

際際滷Share a Scribd company logo
Laravel vs Symfony
Comparison of two super-frameworks
Oleksandr Tymchenko, co-founder Beedevs.com
Agenda
 Reason to compare
 Laravel and Symfony Advantages
 Stat Numbers
 How to choose
 References
Why do we compare them?
Theyre both quite similar and used for the
same aim
Moreover:
 Each Uses Symfony components (There are 11 components in Laravel *)
 Architecture is build on the same concept:
Request --> Middleware (EventListener) --> Router --> Controller --> Response
*Source: http://symfony.com/projects/laravel
Theyre both quite similar and used for the
same aim
Laravel
 ORM: Eloquent
 Template Engine: Blade
 Lifecycle: Chain of Middleware
Symfony
 ORM: Doctrine
 Template Engine: Twig
 Lifecycle: Events and Listeners chain
Advantages. Laravel
 Faster to learn and that can cover the majority of project requirements. Provides better
learning materials.
 Fast growing and active community.
 Laravel is more suitable for creating applications quickly.
Advantages. Symfony
 Official certification, enterprise support with SensioLabs, has predictable release plans.
 Suitable for big/enterprise projects, due to biases in developers community (subjective),
however Laravel could be easily used as well (Laravel in Enterprise: by Taylor Otwell and
Jeffrey Way.
http://www.laravelpodcast.com/episodes/c9a43eeb/episode-53-bigger-better)
Stats (on 18.08.2017)
Resource Laravel Symfony
Stackoverflow 68,303 questions tagged 51,719 questions tagged
Github 34,000 stars 15,000 stars
Upwork 552 mentions in jobs 91 mentions in jobs
Rabota.ua (last 30 days) 44 mentions in vacancies 64 mentions in vacancies
This meetup audience ( > 3+) years exp - ?
( < 3) years exp - ?
Interested - ?
( > 3+) years exp - ?
( < 3) years exp - ?
Interested - ?
Stats. Google Trends
Stats. Google Trends
* - be aware that, this is a map with average requests for few years from the moment of Laravel first release in
June 2011
So which is better?
Conclusions long-run
quick to startup
fun corporate
Laravel / Symfony Symfony
Laravel Symfony / Laravel
References
 https://laravel.com
 https://symfony.com/
 Some comparison in code snippets:
https://www.toptal.com/php/choosing-between-symfony-and-laravel-frameworks
 https://en.wikipedia.org/wiki/Comparison_of_web_frameworks

More Related Content

Laravel vs Symfony

  • 1. Laravel vs Symfony Comparison of two super-frameworks Oleksandr Tymchenko, co-founder Beedevs.com
  • 2. Agenda Reason to compare Laravel and Symfony Advantages Stat Numbers How to choose References
  • 3. Why do we compare them?
  • 4. Theyre both quite similar and used for the same aim Moreover: Each Uses Symfony components (There are 11 components in Laravel *) Architecture is build on the same concept: Request --> Middleware (EventListener) --> Router --> Controller --> Response *Source: http://symfony.com/projects/laravel
  • 5. Theyre both quite similar and used for the same aim Laravel ORM: Eloquent Template Engine: Blade Lifecycle: Chain of Middleware Symfony ORM: Doctrine Template Engine: Twig Lifecycle: Events and Listeners chain
  • 6. Advantages. Laravel Faster to learn and that can cover the majority of project requirements. Provides better learning materials. Fast growing and active community. Laravel is more suitable for creating applications quickly.
  • 7. Advantages. Symfony Official certification, enterprise support with SensioLabs, has predictable release plans. Suitable for big/enterprise projects, due to biases in developers community (subjective), however Laravel could be easily used as well (Laravel in Enterprise: by Taylor Otwell and Jeffrey Way. http://www.laravelpodcast.com/episodes/c9a43eeb/episode-53-bigger-better)
  • 8. Stats (on 18.08.2017) Resource Laravel Symfony Stackoverflow 68,303 questions tagged 51,719 questions tagged Github 34,000 stars 15,000 stars Upwork 552 mentions in jobs 91 mentions in jobs Rabota.ua (last 30 days) 44 mentions in vacancies 64 mentions in vacancies This meetup audience ( > 3+) years exp - ? ( < 3) years exp - ? Interested - ? ( > 3+) years exp - ? ( < 3) years exp - ? Interested - ?
  • 10. Stats. Google Trends * - be aware that, this is a map with average requests for few years from the moment of Laravel first release in June 2011
  • 11. So which is better?
  • 12. Conclusions long-run quick to startup fun corporate Laravel / Symfony Symfony Laravel Symfony / Laravel
  • 13. References https://laravel.com https://symfony.com/ Some comparison in code snippets: https://www.toptal.com/php/choosing-between-symfony-and-laravel-frameworks https://en.wikipedia.org/wiki/Comparison_of_web_frameworks