I am starting a new project that has to be completed in no time. PHP sounds great in such situations. Which PHP framework did you try recently? What's the best option for a PHP developer today?
Update : I don't need one word answers. Let's help the community here by explaining why X framework is good. :)
Laravel simply because i love clean code.... and the blade templating engine is awesome!.... Its ORM eloquent is amazing too especially if you want to finish a project in a really short time!
If I had to choose, Laravel would be my answer. However, I caveat that with the fact that I first looked at Laravel at version 4 and it was easy to install, set up and get going with. That changed with Laravel 5. I took another crack at it not too long ago and the installation and setup was a lot more painful than previously. It took several hours to get up and running, a far different experience than before. Historically, I've had bad experiences with composer, which is how Laravel is installed. I don't know why. Composer is supposed to be this great thing for installing stuff with PHP. For me, it's been nothing but a royal pain. Nearly every time something goes very wrong.
I'm going off on a tangent. I like the idea of Laravel. I liked Laravel 4. I think I don't like composer.
For me i think Symfony. I used the last years and every time goes better. With a lot of helpful vendor like Doctrine or Twig, a robus community and with a lot of upgrades every week an a decent relase circle it's really interesting how things are done by SensioLabs. For me it's so easy to understand, to use and with a very nice documentation and a lot of events elsewhere.
The annoying thing is you can't directly pitch frameworks against each other - because they were all built for a slightly different purpose.
Personally I'd probably pick Symfony. But Laravel and CakePHP are good candidates as well.
Laravel wins for community.
CakePHP wins for ease of understanding
Symfony wins for being more robust.
So, CakePHP is good for small projects - so for me it's not great. Whilst Laravel is good, great even, I have been reading up on it and it seems it's meant to be for more experimental use. So symfony for me, even though it has the highest learning curve and is the most complex.
Personally however, I've never been particularly happy with either PHP or it's frameworks. There are many articles online that discuss what a terrible language PHP is but PHP isn't celebrated for that reason - it's celebrated for it's environment. And the tools/frameworks tend to make up for it's downfalls.
Further to this, I would suggest looking at HACK and it's HipHop Virtual Machine (HHVM). The HACK language aids in removing some of the more important issues with PHP as a language and the HHVM helps run everything really quickly. (Should have Windows support before xmas :D).
Hope this helped.
I hate to say, but given enough time, I'd pick Laravel. I'm an avid CodeIgniter user, and used other frameworks like Kohana. But with all recent developments going with Laravel and their community growing every day. Plus, not to mention, the list of available 3rd party libs make it a great framework.
TheSheriff
Co-Founder, Founder, Entrepreneur & Problem Solver
cengkuru michael
Full Stack Web Developer
Laravel simply because i love clean code.... and the blade templating engine is awesome!.... Its ORM eloquent is amazing too especially if you want to finish a project in a really short time!