Best PHP Framework?

Hi guys,

I mostly use CodeIgniter for my projects but I am wanting to learn/try something new. I recently started doing a project in laravel but right now it seems a little overwhelming for the simple project/task I want to make.

So my question is what PHP frameworks do you like to use for making new projects? What do you find are the most convenient for your needs?

Here’s a few resources and discussions you might helpful:

A few past discussion threads:

http://www.sitepoint.com/forums/showthread.php?1181009-Anyone-have-some-insight-into-benchmarking-a-framework&highlight=framework

http://www.sitepoint.com/forums/showthread.php?1164695-Complete-PHP-MySQL-Beginner-to-framework-or-not

http://www.sitepoint.com/forums/showthread.php?1162787-Which-PHP-Framework-is-better-for-ERP-Application-(ZEND-Codeigniter-Yii)

http://www.sitepoint.com/forums/showthread.php?1157975-Asking-for-recommendation-on-a-PHP-framework

http://www.sitepoint.com/forums/showthread.php?1008927-Sell-me-on-your-framework

As for your specific question, CodeIgniter is a good choice, especially for just starting out. It’s a good general framework with lots of helpful code, good documentation, and an [URL=“http://ellislab.com/forums”]active community supporting it.

On the other hand, depending on the size of the project, you might not always need a framework. A framework simply provides a lot of the common nuts and bolts so you don’t have to re-invent the wheel.

Force Flow provided relevant links and info.

A different prospective to using a framework which may encumber how you do things, is using a good library and choosing desired components. You may want to look at Aura PHP (http://auraphp.com)

Regards,
Steve

Have you considered building your own?

Since you are interested in trying/learning something different, start by looking in the upper right hand corner of this page. See the label “Search Forums”? Right next to it is an input box with the words “type here”. Enter “Best PHP Framework” into the box then press the little magnifying glass icon next to the box. Viola! Like magic, hundreds if not thousands of threads on this very topic will be listed.

I have just been using the php that comes w/the xampp download (http://www.apachefriends.org/en/index.html) is that just an example of a frame work then?
thx
D

Hi

Yii comes with wealthy features: MVC, DAO/ActiveRecord, I18N/L10N, caching, verification and role-based accessibility management, scaffold, examining, etc. It can decrease your growth time considerably.

No, XAMPP is just an installation package for the LAMP or WAMP stack for a web server.

A framework is a collection of reusable code.

There is no such thing called ‘best’ framework. you will have to actually try each one out to see which framework suits your need. I’d recommend Symfony 2 since its quite flexible and extensible. You can always try to design your own framework if you want to, but this will require advanced OOP skills.