Glueful
The Modern
API Framework
Build modern, secure APIs with speed and quality developer experience. Glueful brings modern tooling and enterprise‑grade security to PHP 8.3+.
Open Source
JWT Authentication
High‑Throughput Routing
Terminal
# 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
Write Beautiful Code

Write Beautiful Code
Elegant, type-safe code that feels like the future. Experience modern development with built‑in validation, dependency injection, and minimal boilerplate.
Type Safety
Sensible Defaults
Auto DI
UserController.php
PHP 8.2+
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);
}
}Type Safety
Auto DI
Attributes
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.
Faster
Developer Velocity
Proactive
Security Tooling
Strong
Type‑Hinted APIs
Modern Architecture
PHP 8.3+ foundation with attributes, typed properties, and constructor promotion. RESTful by default with route annotations and generators that produce OpenAPI specs. Built‑in request/response validation helpers and type‑hinted code throughout.
Developer Experience
50+ CLI commands for everyday tasks. Smart migrations, extension management, and built‑in profiling/metrics. From `php glueful serve` to production deployment in minutes.
Security
JWT authentication with dual‑layer sessions, fine‑grained RBAC, and configurable rate limiting. Built‑in vulnerability scanning, audit trails, and emergency lockdown mode. OWASP‑aligned protections (CSRF, security headers, rate limits).
From Database to API in Seconds
Generic CRUD endpoints via the built‑in Resource Controller. Configure per‑resource policies and validation to expose tables safely with documentation.
Extensible by design
Build modular APIs that grow with your needs. Extensions are first-class citizens with full access to Glueful's powerful features.
Dynamic Extensions
Enable/disable extensions via CLI, designed for zero‑downtime deploys.
Full DI Support
Automatic service injection, middleware, and event listeners.
Metrics Tracked
Built-in metrics for load time, memory usage, and request handling.
Terminal
# 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
Ready to transform your API development? Join thousands of developers who've already made the switch to Glueful. From rapid prototyping to enterprise production, we've got you covered. Get production-ready APIs in minutes, not months.