labor-digital/typo3-better-api-composer-plugin
Composer 安装命令:
composer require labor-digital/typo3-better-api-composer-plugin
包简介
TYPO3: Provides a global auto-loader hook which runs before TYPO3's class alias loader
README 文档
README
To provide extended functionality to the TYPO3 core we need to listen for loaded classes. However, TYPO3 uses the ClassAliasLoader which registers itself (you can configure this now, but the default is still TRUE) as first possible autoloader (spl_autoload_register -> FLAG prepend is set to true).
The resulting problem is, that there is literary no way of adding an additional class loader to the stack.
Why do I need a class loader? Well, I have to bootstrap the extension as soon as the environment builder prepared the "Environment" class to create the "core modding" class overrides. But there is no hook or signal or anything I could use to call said bootstrap other than watching for required classes and trigger the better api bootstrap as soon as the "\TYPO3\CMS\Core\Core\Bootstrap" class is loaded.
This plugin is a temporary solution to the problem. As soon as I see a better one I will gladly drop this composer plugin again.
Usage in a development environment
If you want to install a package, that somehow depends on this plugin without running in a real TYPO3 project (aka. Dev or Test Scenario), make sure you set the following flag in your composer.json to avoid crashes!
{
"extra": {
"T3BA": {
"isDev": true
}
}
}
Postcardware
You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: LABOR.digital - Fischtorplatz 21 - 55116 Mainz, Germany
We publish all received postcards on our company website.
labor-digital/typo3-better-api-composer-plugin 适用场景与选型建议
labor-digital/typo3-better-api-composer-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.01k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 03 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 labor-digital/typo3-better-api-composer-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 labor-digital/typo3-better-api-composer-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-03-21