Planning for developing a PHP web application nowadays also includes choosing the right framework. PHP frameworks have become increasingly popular and rightfully so. They can save huge amount of time with coding. Some of them are easy to learn and use, even if you don’t master OOP programming.
Using a framework also takes care of important things like security and easy update of your own code and all other packages. Some frameworks have a huge and active user base and community, making it easy to look for help and solutions if you get stuck.
PHP latest version, 5.3.5 brought many changes which made some of the framework malfunction. Most of them now do support PHP 5.3.5 while others have rewritten their whole code base.
I selected 7 of the most used frameworks and listed them here with key features and some accompanying weblog entries by people with user experience.
My personal preference from past experience is CodeIgniter, but the brand new released FUEL sounds very promising.
FUEL
Fuel is a simple, flexible, community driven PHP 5.3 web framework based on the best ideas of other frameworks with a fresh start.
Some key features:
- module and HMVC support built-in
- full package support built-in
- has more out-of-the-box functionality
FuelPHP for CodeIgniter Developers A weblog entry from a former CodeIgniter user about FUEL.
CodeIgniter
CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.
Some key features:
- MVC based
- Top notch user guide and documentation
CakePHP
CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications.
Some key features:
- MVC based
- Helpers for HTML, Forms, Pagination, AJAX, Javascript, XML, RSS and more
CodeIgniter vs CakePHP An old yet still worth to read weblog entry.
Kohana
Kohana is an elegant HMVC PHP5 framework that provides a rich set of components for building web applications.
Some key features:
- Very fast
- HMVC based
Zend
Zend Framework is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile codebase.
Some key features:
- Makes use of commonly available API’s like, Google, Flickr, Amazon, etc.
- Enterprise ready
Symfony
Symfony is a web application framework for PHP projects.
Some key features:
- ORM (Object-relational mapping)
Yii
Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.
Some key features:
- Skinning and theming
- Database Access Objects (DAO), Query Builder, Active Record, DB Migration