dynamitechetan/lumenoctane
Composer 安装命令:
composer require dynamitechetan/lumenoctane
包简介
Supercharge your Lumen application's performance.
README 文档
README
Laravel Octane supercharges your application's performance by serving your application using high-powered application servers, including Open Swoole, Swoole, and RoadRunner. Octane boots your application once, keeps it in memory, and then feeds it requests at supersonic speeds.
lumen Octane is based on code from Laravel Octane, make your lumen app can integration octane
it can run on php >= 7.4 , lumen version 5.8, 6.0, 7.0, 8.0, 9.0
Install via composer
composer require swooder/lumenoctane
Copy the config
Copy the config file from vendor/swooder/lumenoctane/config/octane.php to config folder of your Lumen application
Register your config by adding the following in the bootstrap/app.php before middleware declaration.
$app->configure('octane');
Bootstrap file changes
Add the following snippet to the bootstrap/app.php file under the providers section as follows:
// Add this line
$app->register(Twid\Octane\OctaneServiceProvider::class);
swoole
If you plan to use the Swoole application server to serve your Laravel Octane application, you must install the Swoole PHP extension. Typically, this can be done via PECL
pecl install swoole
RoadRunner
RoadRunner is powered by the RoadRunner binary, which is built using Go. The first time you start a RoadRunner based Octane server, Octane will offer to download and install the RoadRunner binary for you
# Within the Sail shell...
./vendor/bin/rr get-binary
Serving Your Application
php artisan octane:start
More Info about
please visit laravel octane https://laravel.com/docs/9.x/octane
dynamitechetan/lumenoctane 适用场景与选型建议
dynamitechetan/lumenoctane 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 10 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「swoole」 「roadrunner」 「octane」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dynamitechetan/lumenoctane 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dynamitechetan/lumenoctane 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dynamitechetan/lumenoctane 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
RoadRunner and Ubiquity integration
Make Codeigniter4 work on Roadrunner Server.
annotations-scan-plugin
Supercharge your Lumen application's performance.
RoadRunner <-> Lumen Integration
RoadRunner bridge for Laravel applications
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-03