After 17 months of effort, hundreds of releases, tens of thousands of commits by hundreds of contributors, and millions of installs, we’re pleased to announce the immediate availability of Zend Framework 3.
What’s new in Zend Framework 3?
For Zend Framework 2 MVC users, the differences are subtle:
- Increased performance–We’ve measured up to 4X faster applications under PHP 5, and even better performance under PHP 7!
- PHP 7 support
- Additional de-coupling of packages – This allows for re-use in a greater number of contexts. In some cases, this has meant the creation of new packages that either split concerns, or provide integration between multiple components.
- Improved documentation – Documentation is now included within each component repository, allowing us to block contributions for lack of documentation, as well as automate deployment of documentation. See our new documentation site for the results.
For newcomers, we have been working on our package architecture, and attempting to make each package installable with a minimal amount of dependencies, to allow usage in any project, from Zend Framework MVC applications to other popular frameworks such as Laravel and Symfony. All components are now developed independently, with their own release schedules, allowing us to ship bug fixes and new features more frequently.
The Zend Framework 3 also included a number of new features, primarily around PSR-7 (HTTP Message interfaces) support. These include:
- Diactoros: the original and leading PSR-7 implementation in the PHP ecosystem.
- Stratigility: a PSR-7 middleware foundation based on the node.js Sencha Connect
- Expressive: a PSR-7 middleware microframework
Yes, you read that correctly: Zend Framework now ships with a microframework as a parallel offering to its MVC full-stack framework.
For users new to Zend Framework who are looking for a place to dive in, we recommend Expressive, as we feel PSR-7 middleware represents the future of PHP application development.
If you are already familiar with our MVC, or want to get started with it, we have created a new version of the skeleton application that ships with minimal dependencies, and provides a number of convenience features including the ability to select optional packages at installation, as well as auto-register components and modules when adding them to your application.
Migration from Zend Framework 2 to Zend Framework 3
Migration from version 2 to version 3 was at the top of our minds, and we have provided a number of forwards compatibility features over the course of ZF3 development. Detailed migration guides are available to help you navigate the changes.
End-of-life Zend Framework 1
With the release of Zend Framework 3, we are announcing the end-of-life of Zend Framework 1, effective September 28, 2016. For more details read this blog.
If you need assistance migrating your Zend Framework 1 application to Zend Framework 2/3 or Expressive, Zend offers architecture migration services.
The release today is a new beginning for the framework, returning to its original mission: a strong component library, with opt-in MVC features.
Join our community today; we’re available on the #zftalk Freenode IRC channel (irc://irc.freenode.net:6697/zftalk), and via our component repositories used for discussing issues and development.