A modern PHP framework designed to power faster, cleaner, superior software development
Spiral Framework runs PHP applications in long-living workers on RoadRunner: HTTP, queues, gRPC, Temporal workflows and more, with over sixty PSR-compatible components.
composer create-project spiral/app my-appThe installer asks which application to build โ Web, CLI or gRPC โ and which components to add, then writes their configs and downloads RoadRunner.
To see the result first, browse spiral/app: a Web application with Cycle ORM, Stempler templates, queues, cache and sample pages, built by the installer on each release.
Integrations with tools and services that live outside the framework.
| Package | Integrates | Version |
|---|---|---|
| RoadRunner Bridge | RoadRunner: HTTP, Jobs, KV, gRPC, Centrifugo, Metrics, Logger, Lock | |
| Temporal Bridge | Temporal workflows and activities | |
| Cycle ORM Bridge | Cycle ORM, database layer and migrations | |
| OpenTelemetry Bridge | OpenTelemetry tracing | |
| Sentry Bridge | Sentry error reporting | |
| SAPI Bridge | Classic PHP SAPI, such as PHP-FPM | |
| Nyholm Bridge | Nyholm PSR-7 and PSR-17 implementation | |
| Twig Bridge | Twig template engine | |
| Data Grid Bridge | Data Grid specifications in Spiral applications |
Standalone packages beyond the framework core.
| Package | Purpose | Version |
|---|---|---|
| gRPC Client | gRPC client with interceptors, retries and connection failover | |
| Idempotency | At-least-once leases and exactly-once inbox for operations | |
| JSON Schema Generator | JSON Schema from DTO classes | |
| Validator | Validation chains with an array-based DSL | |
| Data Grid | Filtering, sorting and pagination specifications | |
| Attributes | PHP attributes reader | |
| Testing | Testing SDK for Spiral applications | |
| Dumper | Variable dumper for HTML, logs and CLI | |
| Code Style | Shared PHP CS Fixer rules |
More packages from the community โ events, scheduler, validators, serializers and others โ live in Spiral Packages.
- RoadRunner โ high-performance PHP application server and process manager written in Go and powered with plugins.
- Cycle ORM โ PHP DataMapper ORM and data modelling engine.
- Buggregator โ local debugging server in one binary: errors, dumps, emails, logs, profiles and HTTP requests from your application in development.