spiral/framework
Spiral Framework is a high-performance, long-running full-stack PHP framework built for RoadRunner. PSR-compliant components, resident memory kernel, and native support for queues, GRPC, WebSockets, and background workers.
scaffolder) would need integration.bindSingleton for Laravel’s singleton bindings.app()->make() → container()->get()).handle() method signature).| Phase | Component | Action | Risk |
|---|---|---|---|
| 1. Infrastructure | HTTP Server | Replace PHP-FPM/Nginx with RoadRunner (PSR-15 middleware). | Medium (deployment changes). |
| 2. Queues | Queue Workers | Migrate to RoadRunner’s queue workers (AMQP, Kafka, etc.). | Low (backward-compatible). |
| 3. ORM | Database Layer | Introduce Cycle ORM for read-heavy models; keep Eloquent for AR. | High (query rewrites needed). |
| 4. DI & Events | Service Container | Replace Laravel’s container with Spiral’s PSR-11 container. | Medium (facade refactoring). |
| 5. Real-Time | WebSockets/GRPC | Use RoadRunner’s WebSocket/GRPC for real-time features. | Low (new feature, not migration). |
| 6. CLI & Testing | Artisan/Tinker | Replace with Spiral’s console commands or build wrappers. | High (tooling gap). |
laravel/sanctum, spatie/laravel-permission) are PSR-compliant and can work with Spiral’s container.Auth in Spiral’s AuthMiddleware).{% verbatim %} or a custom loader.How can I help you explore Laravel packages today?