shibare / framework
Shibare,简单、简洁、智能的框架
v0.0.4
2024-09-07 00:03 UTC
Requires
- php: ~8.2.0|~8.3.0
- ext-pdo: *
- psr/cache: ^3.0.0
- psr/clock: ^1.0.0
- psr/container: ^2.0.0
- psr/event-dispatcher: ^1.0.0
- psr/http-client: ^1.0.0
- psr/http-factory: ^1.0.0
- psr/http-message: ^2.0.0
- psr/http-server-handler: ^1.0.0
- psr/http-server-middleware: ^1.0.0
- psr/log: ^2.0.0|^3.0.0
- psr/simple-cache: ^3.0.0
Requires (Dev)
- ext-pdo_mysql: *
- cakephp/chronos: ^3.0.0
- monolog/monolog: ^3.7.0
- nesbot/carbon: ^3.0.0
- phpunit/phpunit: ^11.2.9
- spiral/roadrunner-http: ^3.5.0
Suggests
- ext-pdo_mysql: Required for MySQL database
- ext-protobuf: When you use RoadRunnerHttpDispatcher, it is highly recommended for performance
- cakephp/chronos: Required when you use Chronos for Clock
- monolog/monolog: Required when you use Monolog for logging
- nesbot/carbon: Required when you use CarbonImmutable for Clock
- spiral/roadrunner-http: Required when you use RoadRunnerHttpDispatcher
Provides
- psr/cache-implementation: 3.0.0
- psr/clock-implementation: 1.0
- psr/container-implementation: 2.0.2
- psr/event-dispatcher-implementation: 1.0
- psr/http-client-implementation: 1.0.3
- psr/http-factory-implementation: 1.1.0
- psr/http-message-implementation: 2.0
- psr/http-server-handler-implementation: 1.0.2
- psr/http-server-middleware-implementation: 1.0.2
- psr/log-implementation: 3.0
- psr/simple-cache-implementation: 3.0.0
Replaces
- shibare/cache: v0.0.4
- shibare/clock: v0.0.4
- shibare/config: v0.0.4
- shibare/console: v0.0.4
- shibare/container: v0.0.4
- shibare/contracts: v0.0.4
- shibare/database: v0.0.4
- shibare/event-dispatcher: v0.0.4
- shibare/http-client: v0.0.4
- shibare/http-factory: v0.0.4
- shibare/http-message: v0.0.4
- shibare/http-server: v0.0.4
- shibare/idl-openapi: v0.0.4
- shibare/log: v0.0.4
README
功能
简单至上,非易
- 所有事物都是明确的,可理解的。
- 没有魔法方法。
- 没有动态类型。
- 所有都有静态类型(使用PHPStan)。
简洁优于一切
- 简洁即简单。
智能地采用PHP社区
- PHP Standards Recommendations 兼容的实现组件
- 智能DI容器,可以绑定和解析任何东西
- 智能PDO数据库抽象:待定
- 支持多种服务器运行时
- 传统(使用Apache或nginx)
- RoadRunner 采用更广泛的协议。
- FrankenPHP:待定
- IDL支持
- OpenAPI 3.0:待定
- gRPC:待定
- 还有其他什么吗?
需求
- PHP ~8.2.0|~8.3.0
- 没有第三方要求!(有适配器)
开发
- 下载 phive.phar
$ git clone https://github.com/shibare-framework/shibare.git $ cd shibare $ composer install $ phive install $ composer lint $ composer test
CI位于GitHub Actions。
许可
见 LICENSE。
行为准则
贡献
安全性
见 SECURITY.md。