承接 fgsl/curlphp 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

fgsl/curlphp

最新稳定版本:1.0.0

Composer 安装命令:

composer require fgsl/curlphp

包简介

PHP proxy for curl aimed to API testing

README 文档

README

A shortcut to curl thinked about APIs

Use

Linux distributions

If php is installed in /usr/bin, you can run direclty

curlphp.phar [URL] [DATA] [TOKEN] [METHOD]

DATA, TOKEN and METHOD are optional, but if must be passed in this order.

If you don't pass URL, the command prints a guideline text.

Alternatively, you can run

php curlphp.phar [URL] [DATA] [TOKEN] [METHOD]

or create a symlink to your php in /usr/bin.

You can move curlphp.phar to /usr/bin as curlphp, so you can run it as a command:

curlphp [URL] [DATA] [TOKEN] [METHOD]

Windows

if php.exe is declared in PATH environment variable, you can run it so:

php.exe curlphp.phar [URL] [DATA] [TOKEN] [METHOD]

You can create a .BAT file that contains this call.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-only
  • 更新时间: 2023-06-02