vrkansagara/lara-out-press
Composer 安装命令:
composer require vrkansagara/lara-out-press
包简介
This is simply compress your final out of Laravel Application and serve to the browser.
README 文档
README
This is simply compress your final out of Larvel Application and serve to the browser.
How to install ?
composer require vrkansagara/lara-out-press
How to activate this compression middleware in your application ?
Add the ServiceProvider to the providers array in config/app.php
Vrkansagara\LaraOutPress\ServiceProvider::class,
Copy the package configuration to your local config directory using the publish command:
php artisan vendor:publish --provider="Vrkansagara\LaraOutPress\ServiceProvider"
Enable on single environment .env
VRKANSAGARA_COMPRESS_ENVIRONMENT="${APP_ENV}"
Enable on multiple environment .env
VRKANSAGARA_COMPRESS_ENVIRONMENT='prod,testing,dev,local'
Enable this compressor by placing bellow code in .env file.
VRKANSAGARA_COMPRESS_ENABLED=true
Display usage on each page
VRKANSAGARA_COMPRESS_DEBUG= true
TO Do List
- Compress browser output.
- Except route(s)
Task
- Add analytics before compress and after compress.
- Migrate code to Laravel package format.
Code assumption
This code is developed with the mind set of each request is filtered by this middleware. So most of the code will not be flexible by nature except configuration.
Improvement and suggestion are always welcome.
LaraOutPress Screen
You can
I would like take issue and pull request regarding this project and love to answer if anything on this. I would be more happy if you have on this.
Made with ❤️ in India
vrkansagara/lara-out-press 适用场景与选型建议
vrkansagara/lara-out-press 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 26.18k 次下载、GitHub Stars 达 67, 最近一次更新时间为 2016 年 06 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「compress」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 vrkansagara/lara-out-press 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vrkansagara/lara-out-press 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 vrkansagara/lara-out-press 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CSS/Javascript Minificator, Compressor and Concatenator for TYPO3 - highly configurable frontend asset optimization for CSS/JS merging, minification and compression with optional body parsing, async/defer loading, inline output, data-ignore exclusions, SRI integrity validation/calculation, external
OriginPHP Html
PHP client for the Google Closure Compiler API in one file.
Alfabank REST API integration
Php class to compress output buffer in gzip.
统计信息
- 总下载量: 26.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 67
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-06-14
