PHP-MVC vs Zend Framework: What are the differences?
Developers describe PHP-MVC as "Simple and easy to understand MVC skeleton application". This project is - by intention - NOT a full framework, it's a bare-bone structure, written in purely native PHP ! The php-mvc skeleton tries to be the extremely slimmed down opposite of big frameworks like Zend2, Symfony or Laravel. On the other hand, Zend Framework is detailed as "An open source, object-oriented web application framework implemented in PHP 5". Zend Framework 2 is an open source framework for developing web applications and services using PHP 5.3+. Zend Framework 2 uses 100% object-oriented code and utilises most of the new features of PHP 5.3, namely namespaces, late static binding, lambda functions and closures.
PHP-MVC and Zend Framework belong to "Frameworks (Full Stack)" category of the tech stack.
PHP-MVC and Zend Framework are both open source tools. Zend Framework with 5.71K GitHub stars and 2.87K forks on GitHub appears to be more popular than PHP-MVC with 1.25K GitHub stars and 494 GitHub forks.
Webedia, Scandlearn, and MV Labs are some of the popular companies that use Zend Framework, whereas PHP-MVC is used by BetRocket, Sequoia Waste Solutions, and Digimedia ENVISION. Zend Framework has a broader approval, being mentioned in 40 company stacks & 22 developers stacks; compared to PHP-MVC, which is listed in 11 company stacks and 8 developer stacks.
What is PHP-MVC?
What is Zend Framework?
Need advice about which tool to choose?Ask the StackShare community!
Why do developers choose PHP-MVC?
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using PHP-MVC?
What are the cons of using Zend Framework?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
Of all PHP frameworks, my best and only choice is Yii . Think of this: you have a MySQL database, it contains several tables. Now you want to setup a PHP-MVC site, firstly, you must create Models, Yii have a very handy tool called Gii, you can easily create model with Gii just by one click, Gii will read your database table columns and create PHP models automatically for you. Now you need Controller, still with Gii, it will automatically create all 4 php files for you with Insert/Delete/Update/Select even with Search function.
Well, now the most modern way is to have a RESTful API, that's even easier with Yii, you even don't need to care about all the columns, just 4 lines of code you can expose your database table as RESTful API with all GET/POST/PUT/DELETE support, even you change your database table columns, you don't need to change any PHP code.
For security, Yii have embedded authentication and RBAC support. For multi language, Yii have embedded i18n support, all with out-of-box. Just play with it, I bet you will love it.
Zend framework is firstly designed for experienced professional developers, who have been part of international teams for years. With Zend Framework one could harness nuances of high scale eLearning, eCommerce and eBanking applications without fuss and implement robust, market demands meeting solutions. Zend Framework ships simple, without modules installed, so firstly to build up bare-bones for simple modular app, you will have to preinstall the set of GitHub hosted plugins and modules. Added to the mix, Microsoft is one of the main sponsors of the Zend Framework project, so your company would experience state of the art technologies mash up right away from the beginning of implementing theoretical application project to code stack. All in all, several international associations are awaiting you to enroll to enhance the experience of using Zend Framework 2.
The older parts of our core are still using ZF1. We are migrating to simpler framework agnostic controllers with 3rd party components.