These example files demonstrate basic Kohana 3 functionality, including:

  • Base template controller
  • View structure
  • Form usage & validation
  • Email using SwiftMailer
  • Messages
  • ORM & models
  • Validation in the model
  • Authentication (signin, signup, change profile, lost password)
  • OAuth (twitter)
  • OpenID (using PHP OpenID)
  • Pagination
  • Base module, admin module
  • Media compression & caching (using the Media module)
  • HTML5 Boilerplate & jQuery
  • AJAX examples (html, xml + json)
  • Mobile site using jQuery Mobile

Have a look around the repository to see the example code.

Installation:

  • View the wiki page for installation instructions.

Purpose of these files:

  • So I can learn KO3
  • So others can learn KO3
  • As a site 'boilerplate'

Disclaimer:

Some of the code has been collated from the resources listed in the DOCS. I've referenced these projects in the example files.

Please note

  • This respository is constantly changing as I learn better methods and approaches, I don't indent on tagging anytime soon!
  • Most of the continuing functionality now exists in kohana3-base and kohana3-admin
  • The Kohana 3 examples site requires the kohana3-base module to work!

Demo:

Suggestions welcome, send emails to willis.rh@gmail.com