notrab / dumbo
A lightweight, friendly PHP framework for HTTP.
Fund package maintenance!
v1.4.6
2026-10-11 12:54 UTC
Requires
- php: >=8.3
- nyholm/psr7: ^1.8
- psr/http-message: ^2.0
- psr/http-server-middleware: ^1.0
- psr/log: ^3.0
Requires (Dev)
- firebase/php-jwt: ^6.10
- phpunit/phpunit: ^11.0
Suggests
- firebase/php-jwt: Required to use Dumbo\Helpers\JWT
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-28 02:01:50 UTC
README
Dumbo
A lightweight, friendly PHP framework for HTTP — Inspired by Hono.
Install
composer require notrab/dumbo
Quickstart
<?php require __DIR__ . '/vendor/autoload.php'; $app = new Dumbo\Dumbo(); $app->get('/', fn($context) => $context->json(['message' => 'Hello, Dumbo!'])); $app->get('/users/:id', fn($context) => $context->json([ 'id' => $context->req->param('id'), ])); $app->run();
php -S localhost:8000 index.php
Routing, middleware, helpers, deployment and upgrading from 1.x are all in the docs. There are runnable apps in examples/.
For content sites, Jumbo adds pages from files, Markdown and static builds on top of Dumbo.
License
Dumbo is open-sourced software licensed under the MIT license.
