The PHP framework that gets out of your way

Structure without the ceremony. StrataPHP is a modular, PSR-native framework for PHP 8.3+. Ship features, not framework fights.

$ composer require lazysod/strataphp
<5ms cold boot PSR-7/11/15 native Zero hidden magic MIT licensed

Database Tools

Migrations, seeding, backups. Run php bin/migrate.php, php bin/seed.php, php bin/backup.php. ORM is your choice.

Unified CLI

Roadmap: php strata migrate, php strata make:controller. Wraps all bin scripts into one tool.

Test-Ready

Strata\TestCase boots your full app in <10ms. No mocks needed.

See it in 15 seconds

No bootstrap/cache, no php artisan, no 200-line config. Just PHP.

<?php
use Strata\App;
use App\Repository\UserRepository;

$app = new App();

$app->get('/users/{id}', function(int $id, UserRepository $users) {
    return $users->find($id); // DI just works. No config files.
});

$app->post('/users', fn(Request $r) => User::create($r->json()));

$app->run(); // That's it. PSR-7 in, PSR-7 out.

Strata vs The Rest

Don't pick Strata if you want admin panels and auth scaffolding day 1. Pick it when you're tired of fighting your framework.

  StrataPHP Slim 4 Lumen Laravel
Philosophy Explicit layers Micro, DIY Laravel-lite Batteries included
Cold Boot ~3ms ~4ms ~25ms ~40ms
DI Container Bring your own PSR-11 Manual Built-in Built-in + facades
Best For APIs, services, team projects Tiny APIs Laravel devs going micro Full-stack MVPs

Radix Router

Compiled routes. Named params. Groups. 0.01ms dispatch even with 1k routes.

Container Agnostic

Works with PHP-DI, League\Container, Symfony. Or no container at all.

Middleware First

Every request flows through PSR-15. Add CORS, auth, logging as layers.

Database Tools

Migrations, query builder, connection pooling. ORM is your choice.

Developer CLI

php bin/migrate.php migrate. php bin/seed.php. php bin/backup.php db

Test-Ready

Strata\TestCase boots your full app in <10ms. No mocks needed.

Ready to try PHP without the ceremony?