PHP 8.4+MITv0.24.0-beta0 deps

The native, zero-dependency PHP framework.

One async core for Web and CLI. HTTP/2, WebSockets, an async PostgreSQL ORM, a test framework and a full CLI toolkit β€” built in, in pure PHP.

bash
$ curl -fsSL https://bootgly.com/install | bash

Everything in the box.

"Batteries included" is not a metaphor here β€” the core ships every layer of a modern backend, with zero third-party packages.

HTTP Server

Event-loop server in pure PHP: HTTP/1.1 and native HTTP/2 (HPACK, multiplexing, ALPN), TLS, Fibers for non-blocking I/O. No Nginx, no FPM.

Bootgly1,084,550 req/s
Swoole1,003,388 req/s

Plaintext @ 16 workers β€” Measured 2026-07-25 β€” 24 logical CPUs, WSL2, PHP 8.4, 514 connections.

Docs

Zero dependencies

The entire core is first-party: server, router, ORM, sessions, cache, tests. Your composer.json stays this small.

{
  "require": {
    "php": "^8.4",
    "ext-openssl": "*"
  }
}
Docs

WebSockets

Server and client, RFC 6455, permessage-deflate, channels and broadcasting β€” Autobahn: 462 tests, 0 failures.

Docs

Async PostgreSQL

Native DBAL + ORM with query and schema builders, migrations, seeders, transactions and read replicas.

Docs

Testing

Suites, expressive assertions, Mock/Spy/Fake doubles, coverage, snapshots and fakers.

Docs

CLI toolkit

Commands, ANSI output markup and 33 terminal UI/UX components β€” all in the core, no plugins.

Docs

Security

CORS, CSRF with masking, sliding-window rate limit, secure headers, JWT (HS256/RS256/JWKS), RBAC.

Docs

Cache & storage

File, APCu, shared-memory and Redis cache; Local, Memory and S3-compatible storage.

Docs

Queues & scheduling

Background jobs with retry and dead-letter, a cron-style scheduler and zero-overhead events.

Docs

Observability

Counters, gauges and histograms with JSON, Prometheus and OTLP exporters.

Docs
First in pure PHP

Auto-TLS

Native ACME (Let's Encrypt): the server obtains its certificate, hot-swaps it into live workers and renews it by itself β€” automatic HTTPS like Caddy, in pure PHP. No certbot, no cron.

Docs
And also:
  • Router + route cache
  • Sessions
  • Template engine
  • TCP/UDP servers & clients
  • HTTP client
  • ETag
  • Compression
  • TrustedProxy
  • Logging

Under the hood.

Three examples of what "native" means in practice.

A real HTTP server, not a wrapper

Routes are generator closures on a long-running event loop. Fibers keep I/O non-blocking; workers scale across cores. This is the whole hello world.

router/routes/Core.php
return static function (Request $Request, Response $Response, Router $Router): Generator
{
   yield $Router->route('/', function (Request $Request, Response $Response) {
      return $Response(body: 'Hello World!');
   }, GET);

   // Catch-all 404
   yield $Router->route('/*', fn (Request $Request, Response $Response) =>
      $Response(code: 404, body: 'Not Found')
   );
};

An async data layer

The PostgreSQL driver speaks the wire protocol natively and pools connections per worker β€” queries suspend Fibers instead of blocking workers. That is where the +74% over Swoole on /db comes from.

Docs

+74%

more throughput than Swoole on single-query DB β€” peak vs peak (2026-07-04)

Single DB query

Higher is better
  • Bootgly @ 22 workers166,746 req/s
  • Swoole @ 24 workers95,718 req/s

Measured 2026-07-04 β€” 24 logical CPUs, WSL2, PHP 8.4, 514 connections.

Tooling you don't have to choose

The test framework, template engine and CLI components are part of the core β€” one style, one runner, no plugins.

Progress-01.demo.php
$Progress = new Progress($Output);
$Progress->total = 1000000;

$Progress->start();
// ~7Γ— faster than Laravel / Symfony
$Progress->advance();
$Progress->finish();

I2P β€” six layers, one direction.

The first PHP framework with Interface-to-Platform architecture: each top-level interface creates a platform.

Top-level interfaces β€” each one creates a platform

CLI→ Console platform

Command Line Interface

Terminal UI components: alerts, menus, progress bars, tables, interactive commands, etc.

WPI→ Web platform

Web Programming Interface

Web infrastructure: HTTP server, HTTP client, TCP server, TCP client β€” high-performance networking from the ground up.

Foundation layers

API Application Programming InterfaceApplication orchestration: components, endpoints, environments, projects, and server management. Forks into CLI and WPI.
ADI Abstract Data InterfaceData layer abstractions: database connections, table operations, and ORM foundations.
ACI Abstract Common InterfaceShared utilities for observability: benchmarking, event system, logging, and the built-in test framework.
ABI Abstract Bootable InterfaceCore bootstrap infrastructure: configs, data handling, IO, resources, and the template engine. The foundation everything else builds upon.

Dependencies flow one way β€” down. No skipping, no cycles.

Docs

Benchmarked in the open.

TechEmpower-style routes against the fastest PHP runtimes β€” reproducible scripts, published reports.

Plaintext

Higher is better
  • Bootgly @ 16 workers1,084,550 req/s
  • Swoole @ 17 workers1,003,388 req/s
  • Laravel + FPM @ 23 workers6,959 req/s

JSON

Higher is better
  • Bootgly @ 18 workers1,037,342 req/s
  • Swoole @ 19 workers979,082 req/s

Single DB query

Higher is better
  • Bootgly @ 22 workers166,746 req/s
  • Swoole @ 24 workers95,718 req/s

Multiple queries (20)

Higher is better
  • Bootgly @ 22 workers24,966 req/s
  • Swoole @ 24 workers17,263 req/s

Fortunes (DB + templating)

Higher is better
  • Bootgly @ 24 workers131,263 req/s
  • Swoole @ 24 workers98,557 req/s

Updates (20 queries)

Higher is better
  • Bootgly @ 24 workers5,782 req/s
  • Swoole @ 24 workers3,721 req/s

Cached queries (20)

Higher is better
  • Bootgly @ 18 workers572,512 req/s
  • Swoole @ 18 workers554,313 req/s

Measured 2026-07-04 – 2026-07-22 – 2026-07-25 β€” 24 logical CPUs, WSL2, PHP 8.4, 514 connections. Same hardware, reproducible scripts, published reports.

Benchmark repository Full comparison (6 PHP runtimes)

Technical specifications.

PHP
β‰₯ 8.4
License
MIT
Version
v0.24.0-beta
Runtime dependencies
0
Protocols
HTTP/1.1 Β· HTTP/2 Β· TLS/ALPN Β· WebSocket Β· TCP Β· UDP
Database
PostgreSQL (async)
Platform
Linux-native (Windows via Docker)
Docs
llms.txt Β· MCP Β· AI assistant

Beta β€” v0.24.0-beta

Bootgly is in beta β€” stabilizing toward 1.0. Pin a version and expect some changes; not yet recommended for production.

Roadmap

  1. v1.0.0-beta next

    Stability, API Freeze, Full Documentation

  2. v1.0.0

    Production-ready release

Start building with Bootgly.

Install it, open the project wizard and read the docs β€” everything is one command away.

bash
$ curl -fsSL https://bootgly.com/install | bash

Keep exploring the docs: