Koseven is a PHP framework based on defunct Kohana 3.3.X . Fully compatible with Kohana and updated to work with PHP7
Koseven is an elegant, open source, and object oriented HMVC framework built using PHP7, by a team of volunteers. It aims to be swift, secure, and small.
Released under a BSD license, Koseven can be used legally for any open source, commercial, or personal project.
Kohana 3.3.x is used by us in many live projects, and the original team (where @neo22s belonged too) stopped the development a while ago and on Feb 4, 2017 Shadowhand announced the final retirement Kohana is DEAD.
Before the final announcement everyone started to check if it was possible to migrate existing projects to other alternative PHP frameworks. As it turned out switching would be a complex and lengthy job. So it became clear that keeping the project alive and updated is a priority.
And so the Koseven repository was born and will keep this repository updated for future releases of PHP, giving the framework a clear perspective for the future.
If you were using 3.3.x version normally yes. Normally? There are 4 breaking changes that may affect you, be aware. Please check how to migrate.
We have also added the pagination module.
- Kohana_Kohana_Exception, all functions that received parameter Exception $e have been replaced to just $e. If you are extending the class verify you have the same.
- Kohana_URL, now function site has a new parameter
$subdomain = NULL
, if you are extending the class and this function add it. - Module encrypt, now encryption works as a module, if you are using new Encrypt or similar you need to enable the module in your bootstrap ex:
'encrypt' => MODPATH.'encrypt',
- MySQL driver has been removed. If you are still using it, please install MySQLi driver and then edit your
config/database.php
and then set as'type' => 'MySQLi'
So far is exactly as last stable version of KO 3.3.6 released on Jul 25, 2016. But compatible with PHP 7 / PHP 7.1. Our focus is to keep the framework compatible with new releases of PHP, fix bugs and try to improve the speed. New features can be added using modules.
Yes they are, just be sure that they are compatible with KO 3.3.X. An overview of Koseven’s team own modules can be found on this page. There’s also a list online with a nice overview of existing modules maintained (or abandoned) by others. You can consult this list at kohana-modules.com
This was personal choice of @neo22s to keep the project as simple and easier to manage. The modules are commonly used and are not enabled by default. If not used they can be removed from the codebase.
Feel free to open an issue on github. Please be as specific as possible if you want to get help. You can also Join the Telegram group
We are working to improve the original Kohana documentation but in the meantime feel free to use the one provided by KO.
Koseven documentation can be found at docs.koseven.ga which also contains an API browser.
The userguide
module included in all Kohana/Koseven releases allows you to view the documentation locally. To use it you need to enable theuserguide
module in the bootstrap.php file (found in the application
directory). Next you should be able to read the documentation from your own site via /index.php/guide
(or just /guide
if you are rewriting your URLs).
If you've stumbled across a bug, please help us out by reporting the bug you have found. Simply log in or register and submit a new issue, leaving as much information about the bug as possible, e.g.
- Steps to reproduce
- Expected result
- Actual result
This will help us to fix the bug as quickly as possible, and if you'd like to fix it yourself feel free to fork us on GitHub and submit a pull request!
Any help is more than welcome! Please see Contributing