add following code to your composer.json
"autoload": {
"psr-0": {
"": "classes/"
}
},
write following code to functions.php which in your WrodPress theme
require __DIR__ . '/vendor/autoload.php';
use Jhonyspicy\Wordpress\Theme\Base\Base as ThemeBase;
ThemeBase::initialize();
see 'example' branch.
it include sample code.
copy it to WordPress theme directory
and you can see how it works
have fun :)
This is released under the LGPLv3, see LICENSE.
Copyright (c) 2014 jhonyspicy