Spiral 介绍

Latest Stable Version Build Status Codecov Scrutinizer Code Quality discord

Spiral Framework

Spiral Framework 让 PHP 开发重新令人振奋。它利用 PHP 的快速,易部署特性来实现快速开发业务逻辑,同时独特地借助 Golang 来优雅地构建起原生支持 HTTP/2, GRPC, Queue 等特性的基础架构层。Spiral Framework 非常灵活且完全遵守 PSR 规范。开发者在用它构建更快、更高效的应用时一定会感到非常愉悦。

WEB 项目框架 ( 命令行项目框架, GRPC 项目框架) | 官网 | 官方文档 | Twitter | 更新日志 | 贡献指引


功能特性

  • 从 2013 年以来经历了充分的实战检验

  • 超高性能的 PHP 全栈开发框架

  • 遵守 PSR-{2,3,4,6,7,11,15,16,17}

  • 强大的 应用服务器, 常驻内存式应用内核

  • 原生支持队列( AMQP, SQS, Beanstalk )和 PHP 后台工作进程

  • GRPC 服务和客户端

  • 发布/订阅, 事件广播

  • HTTPS, HTTP/2+Push, 加密 cookies, sessions, CSRF 防护

  • 支持 MySQL, MariaDB, SQLite, PostgreSQL, SQLServer, 自动数据迁移(migration)

  • 未来 25 年你都要用的 ORM

  • 直观的脚手架和原型(它确实可以帮您编写代码)

  • 基于静态分析的有用的类型发现

  • 身份验证, 基于角色的访问控制(RBAC), 验证, 以及加密

  • 可创建自定义 HTML 标签的动态模板引擎(你也可以使用原生 PHP 模板或者 Twig)

  • MVC, HMVC, CQRS, Queue-oriented, RPC-oriented, 命令行程序… 任何类型的应用

项目框架

应用类型当前状态项目地址
spiral/appLatest Stable Versionhttps://github.com/spiral/app
spiral/app-cliLatest Stable Versionhttps://github.com/spiral/app-cli
spiral/app-grpcLatest Stable Versionhttps://github.com/spiral/app-grpc

核心组件

组件当前状态
spiral/coreLatest Stable Version Build Status Codecov
spiral/bootLatest Stable Version Build Status Codecov
spiral/configLatest Stable Version Build Status Codecov

任务调度组件

组件当前状态
spiral/httpLatest Stable Version Build Status Codecov
spiral/consoleLatest Stable Version Build Status Codecov
spiral/roadrunnerLatest Stable Version Build Status Codecov
spiral/jobsLatest Stable Version Build Status Codecov
spiral/php-grpcLatest Stable Version Build Status Codecov

HTTP 组件

组件当前状态
spiral/cookiesLatest Stable Version Build Status Codecov
spiral/csrfLatest Stable Version Build Status Codecov
spiral/hmvcLatest Stable Version Build Status Codecov
spiral/routerLatest Stable Version Build Status Codecov
spiral/sessionLatest Stable Version Build Status Codecov
spiral/nyholm-bridgeLatest Stable Version Build Status Codecov
spiral/auth-httpLatest Stable Version Build Status Codecov

安全和验证组件

组件当前状态
spiral/encryptionLatest Stable Version Build Status Codecov
spiral/securityLatest Stable Version Build Status Codecov
spiral/validationLatest Stable Version Build Status Codecov
spiral/filtersLatest Stable Version Build Status Codecov
spiral/authLatest Stable Version Build Status Codecov
spiral/auth-httpLatest Stable Version Build Status Codecov

数据库组件

组件当前状态
spiral/databaseLatest Stable Version Build Status Codecov
spiral/migrationsLatest Stable Version Build Status Codecov

Cycle ORM

组件当前状态
cycle/ormLatest Stable Version Build Status Scrutinizer Code Quality Codecov
cycle/schema-builderLatest Stable Version Build Status Scrutinizer Code Quality Codecov
cycle/annotatedLatest Stable Version Build Status Scrutinizer Code Quality Codecov
cycle/proxy-factoryLatest Stable Version Build Status Scrutinizer Code Quality Codecov
cycle/migrationsLatest Stable Version Build Status Scrutinizer Code Quality Codecov

Stempler 模板引擎

组件当前状态
spiral/stemplerLatest Stable Version Build Status Codecov
spiral/stempler-bridgeLatest Stable Version Build Status Codecov

功能组件

组件当前状态
spiral/exceptionsLatest Stable Version Build Status Codecov
spiral/paginationLatest Stable Version Build Status Codecov
spiral/filesLatest Stable Version Build Status Codecov
spiral/streamsLatest Stable Version Build Status Codecov
spiral/loggerLatest Stable Version Build Status Codecov
spiral/tokenizerLatest Stable Version Build Status Codecov
spiral/snapshotsLatest Stable Version Build Status Codecov
spiral/translatorLatest Stable Version Build Status Codecov
spiral/modelsLatest Stable Version Build Status Codecov
spiral/debugLatest Stable Version Build Status Codecov
spiral/dumperLatest Stable Version Build Status Codecov
spiral/viewsLatest Stable Version Build Status Codecov
spiral/storageLatest Stable Version Build Status Codecov
spiral/reactorLatest Stable Version Build Status Codecov
spiral/annotationsLatest Stable Version Build Status Codecov
spiral/broadcastLatest Stable Version Build Status Codecov
spiral/data-gridLatest Stable Version Build Status Codecov

协同组件

组件当前状态
spiral/dotenv-bridgeLatest Stable Version Build Status Codecov
spiral/monolog-bridgeLatest Stable Version Build Status Codecov
spiral/twig-bridgeLatest Stable Version Build Status Codecov
spiral/sentry-bridgeLatest Stable Version Build Status Codecov

开发组件

组件状态
spiral/scaffolderLatest Stable Version Build Status Codecov
spiral/prototypeLatest Stable Version Build Status Codecov
spiral/annotationsLatest Stable Version Build Status Codecov
spiral/composer-publish-pluginLatest Stable Version Build Status Codecov
spiral/code-styleLatest Stable Version Build Status Codecov

开源协议

MIT License (MIT). 请阅读 LICENSE 了解详情. 项目由 Spiral Scout 维护。