When comparing Kohana vs Leaf, the Slant community recommends Leaf for most people. In the question“What are the best PHP frameworks?” Leaf is ranked 13th while Kohana is ranked 20th. The most important reason people chose Leaf is:
Leaf has a simple structure and easy code.
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 Simple structure
Leaf has a simple structure and easy code.
Pro Useful classes
Contains classes for managing requests, responses, cookies, logging, views, HTTP caching, and more.
Pro Beautiful, well organised documentation
Pro REST-based
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 Lack of a database layer
Has inbuilt connection methods for only mysqli and pdo.