framework icon indicating copy to clipboard operation
framework copied to clipboard

High-Performance PHP Framework

Spiral Framework


Documentation · Discord · Telegram · Twitter

Spiral Framework is a High-Performance Long-Living Full-Stack framework and group of over sixty PSR-compatible components. The Framework execution model based on a hybrid runtime where some services (GRPC, Queue, WebSockets, etc.) handled by RoadRunner application server and the PHP code of your application stays in memory permanently (anti-memory leak tools included).

Features

  • Battle-tested since 2013
  • Lightning fast full-stack PHP framework
  • PSR-{2,3,4,6,7,11,15,16,17} compliant
  • Powerful application server and resident memory application kernel
  • Native support of queue (AMQP, SQS, Beanstalk) and background PHP workers
  • GRPC server and client
  • Pub/Sub, event broadcasting
  • HTTPS, HTTP/2+Push, FastCGI
  • PCI DSS compliant
  • Encrypted cookies, signed sessions, CSRF-guard
  • MySQL, MariaDB, SQLite, PostgreSQL, SQLServer support, auto-migrations
  • The ORM you will use for the next 25 years
  • Intuitive scaffolding and prototyping (it literally writes code for you)
  • Helpful class discovery via static analysis
  • Authentication, RBAC security, validation, and encryption
  • Dynamic template engine to create your own HTML tags (or just use Twig)
  • Durable and scalable workflow orchestration via Temporal
  • MVC, HMVC, CQRS, Queue-oriented, RPC-oriented, CLI apps... any apps

Skeletons

App Type Current Status Install
spiral/app Latest Stable Version https://github.com/spiral/app
spiral/app-cli Latest Stable Version https://github.com/spiral/app-cli
spiral/app-grpc Latest Stable Version https://github.com/spiral/app-grpc
spiral/app-keeper Latest Stable Version https://github.com/spiral/app-keeper

License:

MIT License (MIT). Please see LICENSE for more information. Maintained by Spiral Scout.