3 ms·
What are the main advantages of Laravel over say Cake or Symfony?
by brianbreslin 12y ago
What are the main advantages of Laravel over say Cake or Symfony?
- BaconJuice 12y agoLet's add Codeigniter to the list too. Need a pitch for the employer.
- brianbreslin 12y agoI thought codeigniter was dead? I could have sworn they announced 2 years ago it was no longer going to be developed.
- SBullet01 12y agoThe framework found a new home and its now under active development again. Unfortunately, since v3 which is still not officially out, the framework has fallen behind its competitors.
- rooodini 12y agono longer developed by EllisLab, perhaps.. https://github.com/bcit-ci/CodeIgniter https://github.com/bcit-ci/CodeIgniter
- mediascreen 12y agoIt was revived a while ago: http://forum.codeigniter.com/thread-650.html http://forum.codeigniter.com/thread-650.html
- WA 12y agoI just started with Laravel and can't compare it really well to the other frameworks, but this is what I like so far: - it's well-documented - it has an active community - I simply enjoy working with it. It feels lightweight, although it probably isn't, if I take a good look at the "vendor" folder and the dependencies - I get stuff done relatively quickly Edit: So I started porting my small Laravel 4 project to 5 and to be honest, my first impression is: Laravel 5 is more like Zend Framework than the small and nice PHP framework. It lost a bit of its lightweight flair for a potentially more structured architecture, but I kind of hate to put everything in "Service Providers" and "Middleware" and whatnot. E. g. before, you had a folder "app/controllers", now you have "app/Http/Controllers" and "app/Http/Middleware" and "app/Http/Requests". While this might make sense for bigger projects, it also loses a bit of its lightweight charm. With Laravel 4, things seemed to be more straight forward.
- chrisan 12y agoLaravel changes.. er.. updates a lot more often
- lukeholder 12y agoHighly active community with awesome mentors like Jeffery Way (laracasts.com).
- noir_lord 12y agoOver cake, it's modern, widely used and supported. Over Symfony, not a lot tbh (large parts of Laravel are built on Symfony), it's a lot more opinionated out the box than Symfony and Eloquent has a flatter learning curve than Doctrine.
- acomjean 12y agoSo having looked into php frameworks a bit. There are 2 main packages of reusable components in php. Symfony and Zend. Somewhat confusingly Zend and Symfony also make frameworks built on top of these components. But you can use the components on their own. Use the Composer to install the ones you need. You don't even need a framework to use them. Laravel is built on top of Symfony components. I think the main advantage to Laravel is people who use it really tend to like it... a lot. I hear a lot of complaining about other frameworks, but Laravel people enjoy. People that figure it out tend to get sites up really quickly. The main downside I hear about is performance. For me documentation is key. I tried using Zend components, and while they worked I find the documentation really lacking. Zend have some great stuff like an api builder, but documentation is really important and its why I'll probably end up trying Laravel
- Ronsenshi 12y agoAs some other commenters wrote - there's not that many differences with Symfony approach-wise. But it's more fun to write code in Laravel, Symfony on the other hand is incredibly verbose which is not a good thing in my opinion. You have to write way more code to achieve same thing in Symfony compared to Laravel. Laravel has very reasonable and easy to understand structure and you don't need to use .xml or .yml for configuration. I've had experience in CodeIgniter, Symfony, FuelPHP and I've been sticking with Laravel for over two years because of how simply nice it is to work with.
- tapsboy 12y agoHaving worked with Kohana, CodeIgniter and WP, Laravel is the reason I started writing PHP again. Also being a node developer, Laravel feels at home with Express(both influenced by Sinatra). Artisan command line utility, Migrations for DB version control, Blade template engine and the neat directory structure are some of the things I like apart from the community ofcourse
- ponyous 12y agoWhat is the thing you don't like about Laravel community? (or is this what you say when other PHP devs are involved?)
- marcofiset 12y agoI think that he actually likes the community. The wording might be quite confusing but I think that's what he meant.
- tapsboy 12y agoSorry, meant to say "some of the things I like and the community ofcourse"