hivecommerce/magerun2-list-api-endpoints 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hivecommerce/magerun2-list-api-endpoints

Composer 安装命令:

composer require hivecommerce/magerun2-list-api-endpoints

包简介

Plugin for netz98 Magerun2 to list all API endpoints

README 文档

README

This is a plugin for netz98 Magerun2 to list all API endpoints.

Build Status Coverage Status Mastodon Follow

Installation

The preferred way of installing hivecommerce/magerun2-list-api-endpoints is through Composer. Simply add hivecommerce/magerun2-list-api-endpoints as a dev dependency:

composer.phar require --dev hivecommerce/magerun2-list-api-endpoints

Local installation

If you do not want to add the command to one specific project only, you can install the plugin globally by placing the code in the ~/.n98-magerun2/modules directory. If the folder does not already exist in your setup, create the folder by running the following command:

mkdir -p  ~/.n98-magerun2/modules

The next thing to do is to clone the repository in a subdirectory of ~/.n98-magerun2/modules:

git clone git@github.com:hivecommerce/magerun2-list-api-endpoints.git ~/.n98-magerun2/modules/magerun2-list-api-endpoints

Usage

This plugin adds the api:list:endpoints command to magerun2.

You are able to filter routes by their respective HTTP methods. To only see GET routes, run magerun2 like this:

magerun2 api:list:endpoints --method=get

To list all GET and POST routes, pass a comma-separated list as method argument:

magerun2 api:list:endpoints --method=get,post

You are able to filter routes by their url. To only see customers routes, run magerun2 like this:

magerun2 api:list:endpoints --route=customers

Both filters can be combined, to show only customers routes with the GET method, run magerun2 like this:

magerun2 api:list:endpoints --route=customers --method=get

Contribute

Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and adapt the documentation.

Want To Contribute?

If you feel that you have something to share, then we’d love to have you. Check out the contributing guide to find out how, as well as what we expect from you.

License

This plugin is released under the Apache 2.0 license.

hivecommerce/magerun2-list-api-endpoints 适用场景与选型建议

hivecommerce/magerun2-list-api-endpoints 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 33 次下载、GitHub Stars 达 3, 最近一次更新时间为 2021 年 11 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「magerun2」 「n98-magerun2」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 hivecommerce/magerun2-list-api-endpoints 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 hivecommerce/magerun2-list-api-endpoints 我们能提供哪些服务?
定制开发 / 二次开发

基于 hivecommerce/magerun2-list-api-endpoints 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 33
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 2
  • 开发语言: Shell

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2021-11-06