After wasting hours in the new Kohana 3 (KO3) documentation, I decided to spend the time to create a “plug&play” version of KO3, which I can use as a start up version of my KO3 based projects.
I’ve set up the auth module, the ORM and one controller, along with the login views and templates.
Also I am pulling results from the DB using ORM, displaying them on the page, and use pagination to split them into sub-pages. Clicking on the item will take you to it’s view.
The goal is to have most of the used stuff in one place, so anyone can use it as a reference – something that I loved in CodeIgniter, but it was never done with KO3.
And this is the result:
You will find everything you need in the “trunk” folder, and the auth tables in the “db” folder in a file called kohana.sql.gz
This distribution is set to have two environments: development (kohana.local) and production. In development mode you will be able to see the KO3 diagnostics and requirements. You can set more environments if needed too. All the needed settings are in
application/bootstrap.php
application/config/database.php
I am hoping that you will enjoy this.