Skip to content

Fusio

Self-hosted PHP API gateway and management platform for teams that publish APIs

Permissive (OSI) · Apache-2.0
  • Self-hosted

Listed by , founder & editor

70

Health

Active

Overview

Stars

2,133

Last commit

12 days ago

Nov 2026

Repository age

11 years

since Jul 2015

Latest version

v7.2.1

Oct 2026

Contributors

–

1 active in 90 days

Releases

7

last 12 months

Language

PHP

Fusio is a self-hosted backend platform and API gateway written in PHP. It sits between your internal systems and the clients that call them, and turns services into managed API products.

You can expose SQL and NoSQL databases such as MySQL and PostgreSQL as REST APIs, route traffic between microservices, or write your own backend logic as reusable actions in PHP or JavaScript. It also ships a developer portal with docs, testing tools and keys for third-party developers, plus client SDK generation, usage analytics, and subscription plans with quotas and billing. Native Model Context Protocol support lets you expose your API logic as tools for AI agents.

You run it with the official Docker image alongside a MySQL database, or install it manually from a release or a git clone and set the database connection in an .env file. The code is licensed under Apache 2.0 and has been developed since 2015. It fits as an open alternative to hosted API management and gateway services.

Who it's for

PHP teams building public or partner APIs

Actions are written in PHP or JavaScript, and the portal and SDK generation come built in.

Skip if: Your stack has no PHP experience and you want a gateway configured only through declarative files.

Companies exposing legacy databases over REST

It can publish MySQL, PostgreSQL and other databases as REST endpoints without a custom service.

Skip if: You only need simple reverse proxying and rate limiting.

Developers connecting backend logic to AI agents

Native MCP support turns your API actions into agent tools.

Skip if: You need a large team of maintainers behind the project.

The problem it solves

Turning internal services and databases into documented, secured APIs usually means stitching together a gateway, a developer portal, billing and SDK tooling. Fusio puts these in one self-hosted platform. You keep control of the data and the code.

Strengths

  • Exposes MySQL, PostgreSQL and other databases as REST APIs
  • Includes a developer portal, SDK generation and usage analytics
  • Native MCP support for AI agent tooling
  • Apache 2.0 license with development since 2015
  • Official Docker image with a compose setup

Trade-offs

  • Written in PHP, so custom logic favors PHP or JavaScript
  • Recent commits come mostly from a single contributor
  • Self-hosted only, with no managed plan
  • Manual install needs a database and .env configuration

Self-host Fusio

Self-hostable
Yes

In the community

Frequently asked questions

Is Fusio free?

Yes. It is released under the Apache 2.0 license, so you can use and modify it freely.

Can I self-host it?

Yes. Run the fusio/fusio Docker image with a MySQL database, or install manually from a release or the git repository.

What languages can I write API logic in?

Custom actions can be written in PHP or JavaScript.

Does it work with AI agents?

Yes. It has native Model Context Protocol support, so your API logic can be offered as tools.

Similar tools in API management and gateways

Cosmo

API management and gateways

GraphQL Federation platform with schema registry, router and analytics for API teams

1.3k 270 today Thriving Apache-2.0

UnKey

API management and gateways

Self-hostable API management platform for key issuance and access control

5.5k AGPL-3.0

DreamFactory

API management and gateways

Self-hosted platform that turns SQL and NoSQL databases into governed REST APIs

1.8k 354 5 days ago Active Apache-2.0

Tailcall

API management and gateways

GraphQL runtime that fronts REST and gRPC backends for API teams

1.4k Apache-2.0

Gravitee

API management and gateways

Java API management platform with gateway, developer portal and policies for API teams

473 121 today Active Apache-2.0

keygate

API management and gateways

278 104 yesterday Thriving AGPL-3.0