Installing the library is pretty easy and can be done through either Composer or as a Git submodule:
Add the following to your composer.json
(see http://getcomposer.org/)
"require": {
"cleentfaar/tissue": "~0.1"
}
Run the following commands to bring in the library as a submodule.
git submodule add https://github.com/cleentfaar/tissue.git vendor/cleentfaar/tissue
If you installed the bundle by composer, the namespace will be registered automatically (jump to step 3).
Otherwise, add the following two namespace entries to the registerNamespaces
call in your autoloader:
<?php
// path/to/your/autoload.php
$loader->registerNamespaces(array(
// ...
'CL\Tissue' => __DIR__.'/../vendor/cleentfaar/tissue',
// ...
));
Check out the usage documentation!