Skip to content
@spiral

Spiral

Spiral is a high-performace PHP framework and component ecosystem around it.

Spiral Framework

A modern PHP framework designed to power faster, cleaner, superior software development

Documentation Discord Sponsor


Spiral Framework runs PHP applications in long-living workers on RoadRunner: HTTP, queues, gRPC, Temporal workflows and more, with over sixty PSR-compatible components.

Get Started

composer create-project spiral/app my-app

The 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.

Bridges

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

Packages

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.

Our other projects

  • 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.

Pinned Loading

  1. framework framework Public

    High-Performance PHP Framework

    PHP 2.1k 93

  2. app app Public

    Spiral Framework Skeleton HTTP Application: Queue, Console, Cycle ORM

    PHP 250 22

  3. cycle-bridge cycle-bridge Public

    🌉 Cycle ORM v2 bridge to Spiral Framework

    PHP 19 9

  4. temporal-bridge temporal-bridge Public

    🌉 Temporal integration package for Spiral Framework

    PHP 56 6

  5. roadrunner-bridge roadrunner-bridge Public

    🌉 RoadRunner bridge to Spiral Framework

    PHP 63 12

  6. ticket-booking ticket-booking Public

    This is an example project based on the Spiral Framework and GRPC microservices.

    PHP 75 10

Repositories

Showing 10 of 90 repositories
  • otel-bridge Public

    OpenTelemetry bridge for Spiral Framework

    spiral/otel-bridge's past year of commit activity
    PHP 5 MIT 5 0 1 Updated Nov 30, 2026
  • dotenv-bridge Public

    [READ ONLY] DotEnv Loader for Spiral Framework. Subtree split of the Spiral DotEnv component (see spiral/framework)

    spiral/dotenv-bridge's past year of commit activity
    PHP 2 MIT 1 0 0 Updated Nov 30, 2026
  • http Public

    [READ ONLY] PSR-15 HTTP Request pipeline. Subtree split of the Spiral HTTP component (see spiral/framework)

    spiral/http's past year of commit activity
    PHP 3 MIT 1 0 0 Updated Nov 30, 2026
  • storage Public

    [READ ONLY] Object Storage API: Amazon, FTP, SFTP, Filesystem, GridFS. Subtree split of the Spiral Storage component (see spiral/framework)

    spiral/storage's past year of commit activity
    PHP 28 MIT 3 0 0 Updated Nov 30, 2026
  • csrf Public

    [READ ONLY] CSRF Middleware. Subtree split of the Spiral Csrf component (see spiral/framework)

    spiral/csrf's past year of commit activity
    PHP 0 MIT 1 0 0 Updated Nov 30, 2026
  • monolog-bridge Public

    [READ ONLY] Spiral Framework: Monolog Adapter. Subtree split of the Spiral Monolog Bridge component (see spiral/framework)

    spiral/monolog-bridge's past year of commit activity
    PHP 2 MIT 0 0 0 Updated Nov 30, 2026
  • console Public

    [READ ONLY] Console Core, Auto-Discovery, Command Sequencing. Subtree split of the Spiral Console component (see spiral/framework)

    spiral/console's past year of commit activity
    PHP 3 MIT 0 0 0 Updated Nov 30, 2026
  • annotated-routes Public

    [READ ONLY] Enables Route annotation in application controllers. Subtree split of the Spiral Annotated Routes component (see spiral/framework)

    spiral/annotated-routes's past year of commit activity
    PHP 2 MIT 0 0 0 Updated Nov 30, 2026
  • stempler-bridge Public

    [READ ONLY] Spiral Framework: Stempler adapter. Subtree split of the Spiral Stempler Bridge component (see spiral/framework)

    spiral/stempler-bridge's past year of commit activity
    PHP 2 MIT 1 0 0 Updated Nov 30, 2026
  • validation Public

    [READ ONLY] Nested Validation, Checkers, Conditional Validation, Multiple Rule syntaxes. Subtree split of the Spiral Validation component (see spiral/framework)

    spiral/validation's past year of commit activity
    PHP 3 MIT 3 0 0 Updated Nov 30, 2026