twistersfury/phalcon-shared
最新稳定版本:v2.0.5
Composer 安装命令:
composer require twistersfury/phalcon-shared
包简介
Phalcon Shared Module - Adds Some Common/Shared Utility Classes To Work More Effectively With Phalcon
README 文档
README
PHP7 Phalcon Shared Library
This library is intended to exist as an enhancement to the already great Phalcon Framework. Eventually, some of the the feature in here will be added to the actual cphalcon repo.
Note: This system assumes that you include vendor after setting up the phalcon Di.
\TwistersFury\Phalcon\Shared\Di\AbstractFactory - Extends Phalcon FactoryDefault. Adds The Ability To 'Auto Register' Any Methods That Start With 'register'. Priority can be changed via AbstractFactory::priorityServices
\TwistersFury\Phalcon\Shared\Di\FactoryDefault - Extends AbstractFactory. Adds a few enhancements to some of the default services.
- URL Base Of Domain //domain.name.com
- Config With Dist Logic
- Registers Databases From Config
- Registers Flash Session Using Bootstrap Classes
- Registers Volt Engine Setting Compile Defaults Based Off Constants
- Registers Crypt Using Key File From Config As Key
\TwistersFury\Phalcon\Shared\Helpers\Defines - Allows Calling '\define' with existing defines and/or callback functions. Useful to ensure define not called twice.
\TwistersFury\Phalcon\Shared\Helpers\PathManager - Gives Central Location To Set/Configure Project Paths
Events
- twistersfury:static-defines - Used to define static constants that do not depend on other static constants.
- twistersfury:dynamic-defines - Used to define constants that change based off runtime configuration or rely on other constants.
Defines
- TF_DEBUG_MODE_DISABLED - Debug Mode Is Disabled
- TF_DEBUG_MODE_TESTING - Debug Mode Is Currently In Testing
- TF_SHARED_SOURCE - Library Source (src) Folder
- TF_SHARED_PROJECT - Library Root/Project Folder
- TF_SHARED_TESTS - Library Test (tests) Folder
- TF_APP_ROOT - Project Root Folder (../../../app In Project, ../ In Repo/Testing);
- TF_DEBUG_MODE - Current Debug Mode - Defaults To ENV(TF_DEBUG_MODE) or TF_DEBUG_MODE_DISABLED.
author Phoenix phoenix@twistersfury.com license http://www.opensource.org/licenses/mit-license.html MIT License copyright 2017 Twister's Fury
twistersfury/phalcon-shared 适用场景与选型建议
twistersfury/phalcon-shared 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9.28k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 07 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「helpers」 「crud」 「utilities」 「shared」 「phalcon」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 twistersfury/phalcon-shared 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 twistersfury/phalcon-shared 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 twistersfury/phalcon-shared 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Gii Generator for double model generation
A PSR-7 compatible library for making CRUD API endpoints
HTML and form generation
Falsy helps you manage half-truths with PHP
Admin panel generator for Laravel 8 and based on Vuetify Admin, a separate SPA admin framework running on top of REST APIs.
Collection of tools to use the full power of the Enyalius framework
统计信息
- 总下载量: 9.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-07