Welcome to the Khaos Library!

Khaos is not a CMS or a Framework but instead a set of libraries which can be used with any Framework or CMS aslong as it supports PHP 5.3

The aim of these libraries as with many frameworks is to speed up development by reducing boiler plate code and providing simple interfaces to commonly used functionality.

For example resizing an image is now as simple as:

$khaos->image('sample.jpg')->fit(100, 100)->save();

Benefits...
  • Small Footprint - We take a lazy loading approach meaning you can always leverage the full power of khaos but only exactly what you need is ever included into the script.
  • Documentation - What's the use in a library if you dont know what it does? We aim to provide documentation on every method of every library including multiple examples.
  • Unit Testing - Libraries of code are especially suited to unit testing and khaos is no exception with extensive unit testing to weed out bug and stop regressions.
  • Dependency Injection - Part of what makes Khaos so easy to use is its automatic dependency injection.
  • Independent - Khaos is not bound to a particuarlar CMS or Framework, so take this familiar environment with you to any project on any CMS or Framework
  • BSD License - Open Source and released under the BSD License you can use Khaos in your commercial projects without worrying about licensing.


Khaos News

Khaos Library goes public!

By neophyte On 31 Oct, 2010

Khaos is a new generation library taking advantage of many of the new features offered by PHP 5.3 which aims to make developing a web application easier and faster.