/framework

High-Performance PHP Framework

Primary LanguagePHPMIT LicenseMIT


Github cover spiral application


Documentation · Discord · 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-{3,4,7,11,12,14,15,16,17} compliant
  • Powerful application server and resident memory application kernel
  • Native support of queue (AMQP, SQS, Beanstalk, Kafka) and background PHP workers
  • Queue supervision
  • GRPC server and client via RoadRunner bridge
  • 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
  • The Temporalio is the simple, scalable open source way to write and run reliable workflows
  • 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)
  • MVC, HMVC, CQRS, Queue-oriented, RPC-oriented, CLI apps... any apps

Bridges

App Type Current Status
spiral/roadrunner-bridge Latest Stable Version
spiral/cycle-bridge Latest Stable Version
spiral/temporal-bridge Latest Stable Version
spiral/data-grid-bridge Latest Stable Version
spiral/sapi-bridge Latest Stable Version
spiral/nyholm-bridge Latest Stable Version

Note: You can find more community packages in spiral-packages organization.

License:

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