When comparing FuelPHP vs Kohana, the Slant community recommends FuelPHP for most people. In the question“What are the best PHP frameworks?” FuelPHP is ranked 15th while Kohana is ranked 20th. The most important reason people chose FuelPHP is:
Fuel has very few restrictions on how to write code. Classes and controllers can be in any file structure, any folder can be the "modules" folder and native classes can be extended any way you want.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Total flexibility
Fuel has very few restrictions on how to write code. Classes and controllers can be in any file structure, any folder can be the "modules" folder and native classes can be extended any way you want.
Pro License
FuelPHP is open source and is released under the MIT license.
Pro Out of the box HMVC structure
FuelPHP follows the HMVC pattern which makes it possible to divide the code into smaller modules.
Pro Secure
Fuel takes security very serious, and as a result, has implemented the following measures to ensure the safety of your web applications:
- Output encoding in views
- CSRF protection
- XSS filtering
- Input filtering
- SQL injection
Pro Powerful yet lightweight ORM
FuelPHP is all about being lightweight and simple, this is also demonstrated by it's built-in ORM, it's simple yet powerful. It maps a model to each table in the database, assigns fields on the table depending on the model configuration.
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.
Cons
Con Small community
FuelPHP has a pretty small community compared to other alternatives. This means that there are not many resources and guides for it out there, but on the other hand, it's easier to get help from the core team of developers that are working on Fuel.
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.