magdev / php-assimp
PHP Wrapper for Assimp - the Open Asset Import Library
0.6.0
2018-09-03 20:39 UTC
Requires
- php: >=7.1.0
Requires (Dev)
- phpunit/phpunit: 6.4.*
Suggests
- magdev/php-assimp-validator: Extension for the Symfony Validator component
README
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