When comparing Kohana vs Zend Framework, the Slant community recommends Zend Framework for most people. In the question“What are the best PHP frameworks?” Zend Framework is ranked 18th while Kohana is ranked 20th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Lightweight
With no PECL extensions or PEAR libraries to increase it's bloat, Kohana is extremely lightweight and massive libraries are avoided for more consistency and speed.
Pro OOP framework that is extremely DRY
Kohana follows the OOP software paradigm and it strictly enforces the DRY principle, which makes it easier for developers to write clean and maintainable code.
Pro Tools for quick development
Includes tools that help developers to make applications quickly and efficiently. Some of these tools include:
- Translation libraries
- Code profiling
- Form validation
etc...
Pro Open source
Kohana is open source and is released under the BSD license, this means that it can be modified even for commercial purposes.
Pro Low RAM usage
It is as fast as any popular framework, but the RAM usage is really low in comparison.
Pro Well architected
Pro Enterprise ready
Zend is the most used PHP framework by big businesses. Zend is widely used and tested by a large number of banks, as well as companies, such as Allied Beverage, BBC, Shaklee, CarinBridge, BNP Paribas and more.
Pro Corporate backing
Partnered with Google, IBM, Adobe, Microsoft
Pro Extended predefined classes
Zend has a large library of predefined classes with which developers can create maintainable and stable web applications. This is done if the developer works within the constraints and with the components of these different predefined classes, which makes the application more maintainable.
Pro Wide database support
Zend supports almost all kinds of databases out there. From MySQL, IBM DB2, Oracle, Microsoft SQL Server to PostgreSQL.
Pro Allows customization
For developpers not used to Zend, they can use a predefined structure and use preloaded components and classes to build and maintain their application. But for advanced developpers, they can customize the structure to stick to their needs (or their likings) and extend primary Zend components for fine-tuned apps or replace the initial predefined Zend components by third parties components such as Doctrine ORM or another logging or templating framework.
Pro Easy to build an API with Apigility
Apigility is a collection of Zend Framework modules. It's useful for building the API architecture of a web app quickly and painlessly by providing a flexible engine.
Apigility also has a web-based UI that allows developers to quickly create and modify API services, configure authentication, set authorization rules, set up validation and write new documents.
Cons
Con Poorly documented
Kohana has always been criticized for the poor documentation it has. Some things are not explained with details and some other things are not explained at all.
Con Deprecated PHP Framework
Con Loose documentation
Since Zend has a loosely-coupled architecture, it means that the documentation will be quite loose as well. Even though there's a lot of documentation for the framework, it's still hard to use it as a guideline to create a completed project. Although this can be less of a problem considering all the tutorials and guides out there.