68publishers/application
Composer 安装命令:
composer require 68publishers/application
包简介
Base extensions and components.
README 文档
README
This package helps you to deal with regions with different languages, currencies and countries. It could be helpful even if you have single region project.
Installation
The best way to install 68publishers/application is using Composer:
composer require 68publishers/application
and now you can enable the Environment extension using your neon config
extensions: environment: SixtyEightPublishers\Application\DI\EnvironmentExtension
Usage
environment:
profile:
europe:
language: [sk_SK, en_GB, de_DE, pl_PL]
currency: [EUR, PLZ, GBP]
country: [SK, GB, DE, PL]
north_america:
language: en_US
currency: USD
country: US
domain: [www.example.com, example.com]
# disable: yes
default: # If the default profile doesn't exists, the first profile is taken as default
language: cs_CZ
currency: CZK
country: CZ
Bar panel
Enables and disables Tracy debugger bar panel for better debugging
environment: debugger: yes
Integration with Kdyby\Translation
This feature provides automatic evaluation of the locale parameter for Kdyby\Translation based on profile settings in the extension.
Default profile's language can be used if setting translations.useDefault is set to TRUE.
If is this setting set to FALSE default language will not be used and other resolvers will be invoked.
Also if you change language via method \SixtyEightPublishers\Application\Environment\ActiveProfile::changeLanguage(), locale in Translator is changed too.
environment: translations: enable: yes useDefault: no
Rules for contributing
- 1 PR per feature
- PR with tests are more likely to be merged
- tests and coding standard must pass
vendor/bin/tester ./tests -s vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run
68publishers/application 适用场景与选型建议
68publishers/application 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.3k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2016 年 12 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「application」 「68publishers」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 68publishers/application 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 68publishers/application 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 68publishers/application 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Kinikit - PHP Application development framework MVC component
A Laravel queue connector to process jobs at the end of the application
Awesome bundles for Nette framework based on DDD, CQRS and ES.
C3JS By phpanonymous (Mahmoud Ibrahim)
Extension that adds a combination of global and local event dispatchers with bridge into Nette Framework.
统计信息
- 总下载量: 1.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-09