oxid-esales/oxideshop-ide-helper
Composer 安装命令:
composer require oxid-esales/oxideshop-ide-helper
包简介
OXID eShop IDE helper for code completion
README 文档
README
Synapsis
This component generates a helper file for your IDE, which enables you to use
autocompletion for backwards compatible OXID eShop classes (e.g. class oxArticle).
The name of the generated file is .ide-helper.php (note the leading dot).
It's located in the root directory of your OXID eShop project.
Also this component generates a helper file for PhpStorm IDE so that virtual module
parent classes (*_parent) of namespaced modules are clickable. The name of the
generated file is .phpstorm.meta.php/oxid.meta.php.
This enables you to find the related shop class that is extended by a module.
NOTE: in case of changes in modules please update the helper file as described below.
Installation
To install this component, run the following command in the root directory of your OXID eShop:
composer require --dev oxid-esales/oxideshop-ide-helper
Usage
To create or update the helper file, run the following command in the root directory of your OXID eShop project:
vendor/bin/oe-eshop-ide_helper
If you upgrade an existing OXID eShop edition (>= 6.x), the IDE helper file should be updated afterwards. Simply run the above command after the upgrade process.
Bugs and Issues
If you experience any bugs or issues, please report them in the section OXID eShop (all versions) of https://bugs.oxid-esales.com.
Known Issues
Virtual module parent classes (*_parent) are clickable but the class chain is not built. This affects the case that multiple modules chain extend the same shop class. Virtual parent classes for not namescpaed modules are not clickable.
Development
To run the tests, install the dev dependencies in the module root directory and run it from there:
cd vendor/oxid-esales/oxideshop-ide-helper
composer install
vendor/bin/phpunit tests --bootstrap=/var/www/source/bootstrap.php
Note for PhpStorm users
There is an excellent third-party plug-in for PhpStorm, which complements the functionality of this IDE helper component. See Haenchen's IntelliJ IDEA / PhpStorm Plugin for OXID for details and installation instructions.
oxid-esales/oxideshop-ide-helper 适用场景与选型建议
oxid-esales/oxideshop-ide-helper 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 534.67k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2016 年 12 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 oxid-esales/oxideshop-ide-helper 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 oxid-esales/oxideshop-ide-helper 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 534.67k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 16
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2016-12-08