Skip to content

Home

Loxodontu

Loxodontu is an open-source Backend-as-a-Service (BaaS) built with modern PHP. Designed as a lightweight, self-hostable alternative to Supabase and Firebase, it provides developers with instant APIs, database management, and essential backend infrastructure right out of the box — leveraging the speed, simplicity, and ecosystem of PHP 8+.

Early development

Just started, no stable release yet, expect things to change.

What you get

  • Management API — auth, projects, tables, API keys, and RLS policies.
  • REST passthrough — an instant, token-authenticated REST API in front of your tables.
  • Row-Level Security (RLS) — policies are raw SQL boolean expressions (real WHERE/WITH CHECK power, not a fixed condition DSL), enforced transparently at the REST layer.
  • Storage — per-project file buckets with the same RLS-style policies, upload/download/delete via the API or the dashboard's file browser.
  • Project-level auth — a project's own end users, separate from platform accounts.
  • Edge functions — project-scoped PHP functions exposed over HTTP, sandboxed for shared hosting.
  • Cron jobs — scheduled, retryable jobs driven by a single worker.php entry point.

New here? Start with Getting Started to run Loxodontu locally in a few minutes. Read Philosophy for why the project is built this way, or jump straight into the API Overview. Deploying to shared hosting? See Deployment. Building a frontend? See Clients for the official JS/TS SDK.

Built with

Loxodontu's core is three small, independent PHP libraries, also open-source:

Each one is usable on its own, outside of Loxodontu, in any PHP project.

Clients

License

AGPL-3.0. See LICENSE and COPYRIGHT.