Skip to content

geraldcroes/oktopus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oktopus is a PHP5.3+ engine that promotes loosely coupled systems.

At its very core, the Oktopus Engine is a flexible Autoloader BUT there's a LOT more to come, and you'll have to wait to see it in action :-)

For now, if you want the Oktopus to Autoload every classes in your application (whatever framework or library you're using), just do

Using Oktopus sources :
<?php
include ('Oktopus/Engine.class.php');
Oktopus\Engine::start ('/tmp/');//gives the temporary path with write permissions
Oktopus\Engine::autoloader()->addPath('path to autoload');//you can chain addPath

Using Oktopus phar
<?php
include ('oktopus.phar');
Oktopus\Engine::start ('/tmp/');//gives the temporary path with write permissions
Oktopus\Engine::autoloader()->addPath('path to autoload');//you can chain addPath

//That's all folks

About

Oktopus is a DI framework for PHP 5.3+

Resources

Stars

Watchers

Forks

Packages

No packages published