The Evolutionary PHP Microframework

Built for performance. Designed to evolve.

Build high-performance APIs that adapt and evolve. Express.js-inspired syntax meets PHP's power.

🧪 v1.2.0 Simplicity Edition
Experimental framework under active development. Perfect for prototyping and concept validation.
Not recommended for production use.

2,122
req/sec Peak (Docker Validated)
competitive
3rd
place (Docker Environment)
performing
0.32ms
latency (Average)
fast
1.61MB
memory footprint
ultra-efficient

Express.js Simplicity, PHP Performance

Write modern PHP with a familiar, intuitive API inspired by Express.js. No boilerplate, just productivity.

  • Intuitive routing with middleware support
  • Built-in dependency injection container
  • PSR-7/PSR-15 compliant HTTP handling
  • Zero configuration to get started
  • Type-safe with PHPStan Level 9
app.php
use PivotPHP\Core\Core\Application;

$app = new Application();

// Simple routing with Express.js-like syntax
$app->get('/api/users/:id', function ($req, $res) {
    return $res->json([
        'id' => $req->param('id'),
        'name' => 'John Doe'
    ]);
});

// Middleware support
$app->post('/api/users',
    new AuthMiddleware(),
    new ValidationMiddleware(),
    function ($req, $res) {
        $user = User::create($req->body());
        return $res->status(201)->json($user);
    }
);

$app->run();

Our Philosophy

Evolution over Convention

Adapt and grow naturally instead of rigid patterns

Performance in Every Strand

Speed and efficiency woven into every component

Structure meets Speed

Robust architecture without performance compromise

Evolution over Convention

Where Structure meets Speed. PivotPHP represents a paradigm shift in PHP development - rapid adaptation with exceptional performance.

Competitive Performance APIs

2,122 req/sec peak validated in Docker environment v1.2.0. Educational focus with maintained performance.

2.1K req/sec Docker Tested

Security First

Built-in CSRF, XSS protection, rate limiting, and JWT authentication. Security by default, not afterthought.

CSRF Protected JWT Auth

Evolution over Convention

Adapt your application as requirements change. PivotPHP grows with your project, not against it.

Adaptive Evolutionary

Zero Configuration

Start building immediately. No complex setup, no boilerplate. Just composer install and go.

Quick Start No Boilerplate

Structure meets Speed

Full PSR-7, PSR-11, PSR-12, PSR-14, PSR-15 compliance. Structured architecture without performance compromise.

Structured Fast

Quality & Standards

PHPStan Level 9, PSR-12 compliance, comprehensive test suite. Built with modern PHP best practices.

PHPStan L9 PSR Compliant

Rich Extension Ecosystem

Extend PivotPHP with powerful packages that add functionality without compromising performance.

Cycle ORM

Powerful DataMapper ORM with automatic migrations and complex relationship support.

Database ORM
Learn more →

ReactPHP

Async runtime for long-running applications with event-driven architecture.

Async Event Loop
Learn more →

Build Extensions

PivotPHP is designed to be extended. Build your own extensions following our guide.

Extensible Modular
View all →

Install extensions easily via Composer

composer require pivotphp/cycle-orm

Performance in Every Strand

Benchmarks executed in standardized Docker containers for fair, reproducible testing. Real performance data, consistent conditions.

2,122 req/sec Peak
0.32ms latency avg
1.61MB memory footprint
3rd place ranking

Ready to Evolve Your PHP Development?

Join developers building the next generation of PHP applications.