fayho / fayho
fayho framework depend on swoft
dev-master
2018-05-03 07:14 UTC
Requires
- php: >=7.1.13
- swoft/cache: ^1.0
- swoft/console: ^1.0
- swoft/db: ^1.0
- swoft/devtool: ^1.0
- swoft/framework: ^1.0
- swoft/http-client: ^1.0
- swoft/http-message: ^1.0
- swoft/http-server: ^1.0
- swoft/i18n: ^1.0
- swoft/memory: ^1.0
- swoft/process: ^1.0
- swoft/redis: ^1.0
- swoft/rpc: ^1.0
- swoft/rpc-client: ^1.0
- swoft/rpc-server: ^1.0
- swoft/service-governance: ^1.0
- swoft/session: ^1.0
- swoft/task: ^1.0
- swoft/view: ^1.0
- swoft/websocket-server: ^1.0
This package is not auto-updated.
Last update: 2024-04-14 19:47:08 UTC
README
fayho framework depend on swoft
关于Services命名空间解说
- 所有类,都是针对RPC 提供者和RPC 调用者的
- 子目录,按不同子系统进行划分。如现有的Store目录,它是Store这个子系统的。所有的接口都是由Store子系统提供
- 每个子目录下面,都必须包含README.md,里面至少提供配置文件的内容
系统启动扫描
由于部分bean是写在这个库里面的,因此在系统的config/properties/app.php里面,需要将其加入到扫描目录
'beanScan' => [ //其它扫描目录 'Fayho\Middlewares' => BASE_PATH . '/vendor/fayho/fayho/src/Fayho/Middlewares', 'Fayho\Services' => BASE_PATH . '/vendor/fayho/fayho/src/Fayho/Services', ],
或者是本系统去继承相对应的 Fayho 下面的类,放到 app 对应的目录里面