Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Yii
Yii

496
209
+ 1
266
Zend Framework
Zend Framework

210
146
+ 1
36
Add tool

Yii vs Zend Framework: What are the differences?

Developers describe Yii as "A high-performance PHP framework best for developing Web 2.0 applications". Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly. 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.

Yii and Zend Framework can be primarily classified as "Frameworks (Full Stack)" tools.

"Open source" is the primary reason why developers consider Yii over the competitors, whereas "Open source" was stated as the key factor in picking Zend Framework.

Yii 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 Yii with 4.86K GitHub stars and 2.22K GitHub forks.

According to the StackShare community, Yii has a broader approval, being mentioned in 58 company stacks & 32 developers stacks; compared to Zend Framework, which is listed in 40 company stacks and 22 developer stacks.

What is Yii?

Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

What is Zend Framework?

It is an open source framework for developing web applications and services using PHP 5.3+. It uses 100% object-oriented code and utilizes most of the new features of namely namespaces, late static binding, lambda functions and closures.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Yii?
Why do developers choose Zend Framework?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Yii?
      What companies use Zend Framework?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Yii?
      What tools integrate with Zend Framework?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Yii and Zend Framework?
      Rails
      Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
      Laravel
      It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
      CakePHP
      CakePHP makes building web applications simpler, faster, while requiring less code. A modern PHP 7 framework offering a flexible database access layer and a powerful scaffolding system.
      Symfony
      It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP..
      CodeIgniter
      CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.
      See all alternatives
      Decisions about Yii and Zend Framework
      Buzz Zhang
      Buzz Zhang
      PHP
      PHP
      Yii
      Yii
      MySQL
      MySQL
      PHP-MVC
      PHP-MVC

      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.

      See more
      Interest over time
      Reviews of Yii and Zend Framework
      Avatar of pbrilius
      PHP Web Developer at GroundIn Software
      Review ofZend FrameworkZend Framework

      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.

      How developers use Yii and Zend Framework
      Avatar of La Cupula Music SL
      La Cupula Music SL uses Zend FrameworkZend Framework

      The older parts of our core are still using ZF1. We are migrating to simpler framework agnostic controllers with 3rd party components.

      Avatar of papaver
      papaver uses Zend FrameworkZend Framework

      used zend with working with a client for around a year.

      Avatar of Markus Poerschke
      Markus Poerschke uses Zend FrameworkZend Framework

      The legacy application runs still on Zend Framework 1

      Avatar of Felipe Almeida
      Felipe Almeida uses YiiYii

      Yii is great. 90% of the work done by Yii.

      Avatar of In Situ Training
      In Situ Training uses Zend FrameworkZend Framework

      Reliable web framework

      How much does Yii cost?
      How much does Zend Framework cost?
      Pricing unavailable
      Pricing unavailable
      News about Yii
      More news
      News about Zend Framework
      More news