siler/app
Composer 安装命令:
composer create-project siler/app
包简介
Set up a modern Siler app by running one command.
README 文档
README
🧱 Set up a modern Siler app by running one command.
composer create-project siler/app my-app
Scripts
composer start
Runs CLI SAPI built-in web server on port 8080.
composer swoole
Runs Swoole web server on port 9501.
docker-compose up
Runs Docker using Dwoole on port 9501 as well.
DevTools
It uses ramsey/devtools with Pest override for test:unit.
analyze analyze:phpstan Runs the PHPStan static analyzer. analyze:psalm Runs the Psalm static analyzer. build build:clean Removes everything from the build directory that is not under version control. build:clear-cache Removes everything from build/cache that is not under version control. lint lint:fix Checks source code for coding standards issues and fixes them, if possible. test test:all Runs linting, static analysis, and unit tests. test:coverage:ci Runs the unit test suite and generates a Clover coverage report. test:coverage:html Runs the unit test suite and generates an HTML coverage report. test:unit Runs the unit test suite.
How-to
bootstrap.php
Is a good place to startup your application, things like database connections, dependency injection containers, setups etc.
index.php
Is called on each request, is a good place for routes and things that depends on the current request.
siler/app 适用场景与选型建议
siler/app 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 84 次下载、GitHub Stars 达 16, 最近一次更新时间为 2020 年 08 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 siler/app 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 siler/app 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 84
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-03