Zend Framework 2 is a PHP 5.3+ 5.4 (for Zend Framework 2.4+) or 5.5+ (for Zend Framework 2.5.0+) MVC framework and component library.
Zend Framework 2 is an open source, object-oriented web application framework implemented in PHP 5.3 (PHP 5.5 for version 2.5+) and licensed under the new BSD license.
It is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile codebase with a main focus on building more secure, reliable, and modern Web 2.0 applications & web services.
The key differentiators from Zend Framework 1 are:
- Use of PHP 5.3 namespaces
- MVC is used EventManager to run bootstrap, dispatch and view processes
- Dependency Injection Container
- First class modules
- Installation by Composer
- Splitted into single components
Features Zend Framework features include:
- All components are fully object-oriented PHP 5 and are E_STRICT compliant.
- Use-at-will architecture with loosely coupled components and minimal interdependencies.
- Extensible MVC implementation supporting layouts and PHP-based
templates by default. - Support for multiple database systems and vendors, including MariaDB, MySQL, Oracle, IBM DB2, Microsoft SQL Server, PostgreSQL, SQLite, and Informix Dynamic Server.
- Email composition and delivery, retrieval via mbox, Maildir, POP3 and IMAP4.
- Flexible caching sub-system with support for many types of backends, such as memory or a file system.
Information:
If your question is about Zend Framework 1.x, please use zend-framework instead.
Release:
As of August 3rd 2015, the latest stable release of Zend Framework 2 is version 2.5.2
Resources:
Zend Framework
Official site with downloads, news, reference guide, API docs, and quickstart tutorial.Zend Framework slack team
Main communication channel for support, contributions and communityCommunity Resources
Mailing lists, Issue Tracker, Wiki. Modules (IRC Channel on freenode: #zftalk.modules) and Packages.Zend Framework on github
Official repository for Zend Framework 2, and other ZF related tools and modules.Learn Zend Framework 2 A website dedicated to Zend Framework 2 tutorials for beginners.
Other useful sites:
- Matthew Weier O'Phinney's blog and ZF2 blog code (see this article)
- Abdul Malik Ikhsan's Blog blog with lots of interesting tutorials
- Rob Allen's ZF2 Tutorial and ZF2 articles
- First application: ZendSkeletonApplication
- ZF2 Cheatsheet: zf2cheatsheet