Ask HN: What PHP framework would you choose if you could start over?
31–40 of 60 posts
Re: Ask HN: What PHP framework would you choose if you could start over?
#32Yii2[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
Laravel definitely has all the hype, but Yii has been around much longer and is better architected imho. It does have a slightly steeper learning curve and isn't as instantaneously easy to use at first, but it's worth the effort.
Re: Ask HN: What PHP framework would you choose if you could start over?
#33Re: Ask HN: What PHP framework would you choose if you could start over?
#34Re: Ask HN: What PHP framework would you choose if you could start over?
#35Re: Ask HN: What PHP framework would you choose if you could start over?
#36Re: Ask HN: What PHP framework would you choose if you could start over?
#37I 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…
Wordpress is quite fine for most things though.
Re: Ask HN: What PHP framework would you choose if you could start over?
#38Re: Ask HN: What PHP framework would you choose if you could start over?
#39Code 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?
#40Laravel It's got the most active PHP community, and sufficient online support from documentation and community. You could also start with Spark and let them handle the boilerplate. https://spark.laravel.com/
Does it match _all_ the criteria above?
Laravel is a great suggestion and has been made multiple times in this thread, it may not meet every last bit of your criteria but to disqualify it for that reason would be ridiculous. There is literally NO framework or CMS that exists that is going to meet _all_ your requirements.