##Installation
Add it using composer :
{
"require": {
"magdev/php-assimp-silex-provider": "dev-master"
}
}
and until this package is registered at Packagist add the repository
{
"repositories" : [{
"type" : "vcs",
"url" : "git@github.com:magdev/php-assimp-silex-provider.git"
}
]
}
##Usage
###Registering the provider
use Silex\Application;
use Assimp\Silex\Provider\AssimpServiceProvider;
$app = new Application();
$app->register(new AssimpServiceProvider(), array(
'assimp.bin_path' => '/path/to/assimp'
));
###Using the service
use Assimp\Command\Verbs\ListExtensionsVerb;
$verb = new ListExtensionsVerb();
$app['assimp']->execute($verb);
print_r($verb);
##License
This is released under the MIT license