# Add to your Claude Code skills
git clone https://github.com/apioo/fusioLast scanned: 4/25/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-04-25T05:48:37.178Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}Fusio is a self-hosted backend platform and API gateway that bridges the gap between your internal infrastructure and the outside world. Whether you are exposing legacy databases, orchestrating microservices, or building custom business logic, Fusio handles the heavy lifting. It transforms your services into a professional API product, complete with an automated developer portal, SDK generation, and monetization tools. With native MCP support, Fusio also acts as a bridge to the AI ecosystem, allowing you to turn your backend logic into tools for autonomous agents.
No comments yet. Be the first to share your thoughts!
The fastest way to try Fusio locally is with Docker and docker-compose.
services:
fusio:
image: fusio/fusio
restart: always
environment:
FUSIO_PROJECT_KEY: "42eec18ffdbffc9fda6110dcc705d6ce"
FUSIO_CONNECTION: "pdo-mysql://fusio:61ad6c605975@mysql-fusio/fusio"
FUSIO_BACKEND_USER: "test"
FUSIO_BACKEND_EMAIL: "demo@fusio-project.org"
FUSIO_BACKEND_PW: "test1234"
links:
- mysql-fusio
ports:
- "8080:80"
mysql-fusio:
image: mysql:8.0
restart: always
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "1"
MYSQL_USER: "fusio"
MYSQL_PASSWORD: "61ad6c605975"
MYSQL_DATABASE: "fusio"
volumes:
- ./db:/var/lib/mysql
docker compose up -d
After startup
Download artifact
You can either download the official release or clone the repository.
git clone https://github.com/apioo/fusio.git
Configure .env
Configure fitting database credentials at the APP_CONNECTION variable, all other parameters are optional.
APP_CONNECTION=pdo-mysql://root:password@localhost/fusio
APP_URL=http://localhost:8080
It is also recommended to provide the
APP_URLwhich contains the domain pointing to the public folder i.e.https://api.my_domain.comorhttps://my_domain.com/fusio, this is required if you host Fusio inside a sub-folder otherwise Fusio tries to detect the domain via the Host header.
Supported DBs:
pdo-mysql://user:pass@host/dbpdo-pgsql://user:pass@host/dbpdo-sqlite:///fusio.sqliteRun migrations
php bin/fusio migrate
Create administrator user
php bin/fusio adduser
Choose Administrator as account type.
Install backend app
php bin/fusio marketplace:install fusio
Start server (dev only)
php -S 127.0.0.1:8080 -t public
This should be only used for testing, for production you need a classical Nginx/Apache setup or use Docker, take a look at our installation documentation for more details.
Instead of manual installation you can also use the web installer script located at /install.php
to complete the installation. After installation, it is recommended to delete this "install" script.
Use our Getting Started guide to build your first action and configure an operation to expose the action as API endpoint.
At the core of Fusio, you describe your business logic in an Action. An Action is a PHP class that receives an incoming request and returns a response.
<?php
namespace App\Action;
use Fusio\Engine;
class MyAction implements Engine\ActionInterface
{
public function handle(Engine\RequestInterface $request, Engine\ParametersInterface $configuration, Engine\ContextInterface $context): mixed
{
return [
'hello' => 'world'
];
}
}
Once defined, this action can be bound to an Operation so that it executes for a specific HTTP method and path.
Fusio allows you to build actions that are configurable directly from the backend. In the example below, we add a
message configuration parameter so a user can customize the response without changing the code.
<?php
namespace App\Action;
use Fusio\Engine;
class MyAction extends Engine\ActionAbstract
{
public function handle(Engine\RequestInterface $request, Engine\ParametersInterface $configuration, Engine\ContextInterface $context): mixed
{
return [
'hello' => $configuration->get('message'),
];
}
public function configure(Engine\Form\BuilderInterface $builder, Engine\Form\ElementFactoryInterface $elementFactory): void
{
$builder->add($elementFactory->newInput('message', 'Message', 'text', 'The message which should be returned'));
}
}
In the backend, this parameter is now exposed via a generated form:

This concept makes actions highly reusable for both developers and non-technical users. We also provide a preset of actions for common tasks. If you build an action you'd like to share, check out our Adapter page. See our custom action documentation for more details.
Fusio provides Worker actions, which allow you to develop logic directly in the backend without building custom PHP classes.

This also enables you to build actions in other languages like JavaScript or Python, which is ideal if your team is more familiar with those ecosystems. Learn more in the worker documentation.
With the 7.0 release, we introduced a new Agent concept that allows you to generate worker actions using AI.

This makes developing backend logic accessible to everyone. Simply describe the logic you need:
return a list of popular composers of the 19th century
The Agent then generates the appropriate action logic automatically. Fusio supports multiple providers, including Ollama, ChatGPT, and Gemini, so you are never locked into a specific AI. Explore the AI agent documentation for more.
Fusio includes a flexible app system that lets you install various web-based apps to support different API-related use cases. These apps are typically simple JavaScript frontends that interact with Fusio's internal API.
You can browse all available apps in the Fusio Marketplace, and install them using either the CLI:
php bin/fusio marketplace:install fusio
or directly through the backend interface.

The backend app is the main app to configure and manage your API located at /apps/fusio/.
Fusio provides a VSCode extension which can be used to simplify action development.
To build and integrate applications with Fusio, you can use one of our officially supported SDKs, which simplify interaction with a Fusio instance. Alternatively, you can directly communicate with the REST API for full control and flexibility.
| Language | GitHub | Package | Example | |------------|---------------------------------------------------------|-------------------------------------------------------------------|--------------------------------------------------------------| | C# | GitHub | NuGet | Example | | Go | GitHub | | [Example](https://github.