NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP Frameworks

Brent Baisley brenttech at gmail.com
Thu Feb 7 09:32:25 EST 2013


Not too long ago I decided to sit down and quickly sample all the popular frameworks again (Symfony, Slim, Laravel, CodeIgniter, Yii). I didn't want to spend more than an hour getting each up and running and playing with it. Laravel was on that list and I was eager to try it since it was designed really with only PHP >=5.3 in mind. 

I never really got very far with it since it requires mcrypt to work even in it's most basic form. I did not have mcrypt installed, so that added time. It required DocumentRoot to be set and a writeable directory (storage/views) to work. A bit of extra work just to get a page up and ate into my self imposed 1 hour limit.
It largely (completely?) uses static class references, which I am not a big fan of. It is convenient since the static references are  easily accessible from anywhere. But it means you can't overload it and use your own classes without some difficulty. Like a lot of frameworks, you need to commit to it and the way it does things.

That said, Laravel is certainly a framework I would have on the short list of options. Symfony is also much better in v2 and they are taking a module approach. For example, Twig is now standalone.

On Jan 14, 2013, at 2:32 PM, Yitzchak Schaffer wrote:

> On 01/14/2013 05:52 AM, Peter Sawczynec wrote:
>> Can anyone offer me any thoughts, what you've heard,  background info or
>> real world experience with Laravel?
>> 
> 
> ExpandTheRoom (an agency in Manhattan) uses Laravel, from what I've heard.
> 
> 
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> http://www.nyphp.org/show-participation




More information about the talk mailing list