SDK to talk to the Fusio REST API

v4.0.0 2023-09-24 10:19 UTC

This package is auto-updated.

Last update: 2023-12-02 21:39:36 UTC


This is the official Fusio PHP SDK, it helps to talk to the Fusio REST API. Fusio is an open source API management system, more information at: https://www.fusio-project.org


The following example shows how you can get all registered routes at the backend. A working example is also available at: https://github.com/apioo/fusio-sample-php-cli


require __DIR__ . '/vendor/autoload.php';

$tokenStore = new \Sdkgen\Client\TokenStore\MemoryTokenStore();
$scopes = ['backend'];

$client = new \Fusio\Sdk\Client('https://demo.fusio-project.org', 'test', 'FRsNh1zKCXlB', $scopes, $tokenStore);

$collection = $client->backend()->operation()->getAll(0, 16, '');

echo 'Operations:' . "\n";
foreach ($collection->getEntry() as $operation) {
    echo '* ' . $operation->getHttpMethod() . ' ' . $operation->getHttpPath() . "\n";