Glueful
The Modern
API Framework
Build modern, secure APIs with speed and quality developer experience. Glueful brings first‑class async concurrency to PHP 8.2+, alongside modern tooling and enterprise‑grade security.
# Create a new Glueful project from the API skeleton (recommended) composer create-project glueful/api-skeleton my-project cd my-project # Start the development server php glueful serve
Async & Concurrency for faster endpoints
Parallelize I/O with fiber‑based async. Opt in per route, keep code readable, and shave p95 latency on I/O‑heavy endpoints.
- Per‑route opt‑in via
asyncmiddleware - Helpers:
async(),await_all(),await_race() - Parallel HTTP with retries/backoff
- Limits + metrics for safe scaling
Explore Async
// routes/api.php $router->get('/users', [UserController::class, 'index']) ->middleware(['async']); // UserController.php use Symfony\Component\HttpFoundation\Request; use Glueful\Http\Response; class UserController extends BaseController { public function index(Request $request) { $u = async(fn() => $this->fetchUsers()); $s = async(fn() => $this->fetchStats()); [$users, $stats] = await_all([$u, $s]); return Response::success(['users' => $users, 'stats' => $stats]); } }
Write Beautiful Code

Write Beautiful Code
class UserController extends BaseController
{
public function __construct(
private UserService $userService
) {}
public function create(Request $request): Response
{
$user = $this->userService->createUser($request->validated());
return Response::created($user);
}
}
Why developers choose Glueful
Why developers choose Glueful
Built by developers, for developers. Every feature is designed to eliminate friction and accelerate your API development workflow.
Modern Architecture
Developer Experience
Security
Async & Concurrency
async middleware, ergonomic helpers (async(), await_all()) and a parallel HTTP client. Learn more →From Database to API in Seconds
Extensible by design
Build modular APIs that grow with your needs. Extensions are first-class citizens with full access to Glueful's powerful features.
# Create a new extension with full scaffolding php glueful extensions:create PaymentGateway ✓ Created extension directory: extensions/PaymentGateway/ ✓ Generated controller, service, and routes ✓ Added service provider and config ✓ Created README and tests # Enable and use immediately php glueful extensions:enable PaymentGateway ✓ Extension enabled successfully # See all available extensions php glueful extensions:info
Build Better APIs Faster