Download the PHP package hyperf-apex/apidoc-apifox without Composer

On this page you can find all versions of the php package hyperf-apex/apidoc-apifox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package apidoc-apifox

hyperf-apex/apidoc-apifox

把 #[WsGateway] / #[WsRoute] 声明渲染成 Apifox 原生 webSocketCollection,让长连接协议也能进接口管理平台。

安装

命令与出口

项 值
产物 与 OpenAPI 共用 api_doc.output_path 下的 apifox.json(默认 BASE_PATH/runtime/api-doc)
出口 GET /api_doc/get_apifox(未生成时回 404 并提示该跑哪条命令)

配置项

键 说明
apifox.folder 导入 Apifox 后的默认目录名
apifox.status 接口状态(如 developing)
apifox.tags 附带的标签列表

契约来源

文档内容完全由 websocket 包的声明推导,不在本包里手写:

来源 渲染成
#[WsGateway(path:, endpoint:, name:)] 一个 WebSocket 连接(含地址与说明)
#[WsRoute('{domain}.{action}')] 及其 payload / 返回 DTO 该连接下的各条消息(请求与响应示例)
WsBuiltinEvent 内置事件(sys.ping / sys.pong / sys.subscribe / sys.unsubscribe / sys.error)

处理器上标了「测试探针」之类的内部事件不会被渲染进对外契约 —— 文档只反映真实的协议面。


All versions of apidoc-apifox with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
hyperf-apex/core Version ^0.1
hyperf-apex/apidoc Version ^0.1
hyperf-apex/websocket Version ^0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hyperf-apex/apidoc-apifox contains the following files

Loading the files please wait ...