magdev / php-assimp
PHP Wrapper for Assimp - the Open Asset Import Library
Installs: 92
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/magdev/php-assimp
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