A wrapper for the Open Asset Import Library command-line tool.
##Installation
Add it using composer :
{
"require": {
"magdev/php-assimp": "dev-master"
}
}
and until this package is registered at Packagist add the repository
{
"repositories" : [{
"type" : "vcs",
"url" : "git@github.com:magdev/php-assimp-validator.git"
}
]
}
##Usage
use Assimp\Command\Command;
use Assimp\Command\Verbs\ListExtensionsVerb;
$exec = new Command('/path/to/assimp');
$result = $exec->execute(new ListExtensionsVerb());
if ($result->isSuccess()) {
print_r($result->getOutput());
}
##License
This is released under the MIT license