magdev / php-assimp
PHP版本的Assimp - 开源资产导入库
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
Open Asset Import Library 命令行工具的包装器。
##安装
使用 composer
{ "require": { "magdev/php-assimp": "dev-master" } }
并将此包注册到 Packagist 以添加存储库
{ "repositories" : [{ "type" : "vcs", "url" : "git@github.com:magdev/php-assimp-validator.git" } ] }
##用法
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()); }
##许可证
本软件采用MIT许可证发布