Live data from Hacker News

Ask HN: What PHP framework would you choose if you could start over?

news.ycombinator.com

21–30 of 60 posts

Re: Ask HN: What PHP framework would you choose if you could start over?

#21

As someone with positive experience in Ruby on Rails, I would choose (and have chosen) Laravel. Specifically version 5.1 which is the current LTS release. It does not have a CMS module nor an ecommerce add on as far as I'm aware, but depending on the complexity of your requirements they might not be difficult to do yourself (eg just a few pages of editable content with a few wysiwyg editors here and there, and a stra…

> It does not have a CMS module

octobercms.com is based on Laravel

Re: Ask HN: What PHP framework would you choose if you could start over?

#22
I'd argue Laravel and Symfony's development are tightly coupled to a single person / company (Taylor Otwell / SensioLabs). If CMS & ecommerce are a big portion of this project I'd easily pick WordPress. The only requirement it fails to meet is "no php code in templates". WordPress meets all the other criteria and it is generally great for spinning up a MVP.

Re: Ask HN: What PHP framework would you choose if you could start over?

#24
Symfony 3 or Laravel 5.

Laravel has been created by Taylor Otwell. Here are his thoughts on Symfony 2 "vs" Laravel 4. It's from 2013 but it's still interesting to understand the difference.

https://www.reddit.com/r/PHP/comments/1bdln1/symfony2_vs_lar...

Re: Ask HN: What PHP framework would you choose if you could start over?

#25
post #20

Code Igniter and Drupal are my choices.

Worked on Drupal for half year and I swear that I will never touch this piece of shit.

CodeIgniter is only good for very simple website. It miss a lot of functions that a sophisticated framework has (eg Laravel)

Re: Ask HN: What PHP framework would you choose if you could start over?

#26
I realize that this is not in line with the PHP requirement, but hear me out:

I would use Ruby on Rails.

I have transitioned from using Drupal to Symfony2 (sometimes with Sonata) to using Ruby on Rails, and let me tell you, everything is indeed greener on this side. The tools are better, the language is easy to learn and it is mostly sane. The framework is amazeballs, I am not even kidding. Writing tests is actually fun. In general, I am a much happier developer with Ruby on Rails. I would also dare to say that RoR makes me a lot more efficient as well.

In Symfony I'd frequently get stuck in finding a workaround for some weird bug, which just doesn't happen that much anymore in Rails...

Re: Ask HN: What PHP framework would you choose if you could start over?

#29
post #8

* - developed by community, not a company * This rules out Symfony and Laravel which are imho the only sane options in php. Why do you need this requirement ?

Laravel isn't developed by a company.

Laravel LLC

Re: Ask HN: What PHP framework would you choose if you could start over?

#30
Yii2[0] is simple, elegant and powerful. Unfortunately it does not adhere to:

> - no php code in templates

But it does abstract the template/view nicely.

On a personal note and this will most probably get me down votes. I would not recommend anyone to use PHP frameworks. But I understand real-life factors like current skill set, dev availability, etc.

[0]: https://github.com/yiisoft/yii2

Post reply on HN