magdev/php-assimp

PHP Wrapper for Assimp - the Open Asset Import Library

0.6.0 2018-09-03 20:39 UTC

This package is auto-updated.

Last update: 2024-12-05 18:58:09 UTC


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