定制 maxkostinevich/artisan-ping 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

maxkostinevich/artisan-ping

Composer 安装命令:

composer require maxkostinevich/artisan-ping

包简介

Make HTTP requests using Laravel Artisan.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Artisan Ping

Make HTTP requests using Laravel artisan ping:http command.

For example:

php artisan ping:http --url=https://example.com --method=GET

or

php artisan ping:http --url=https://example.com --method=POST --headers='x-api-key=123456' --headers='another-key-name=key-value' --data='name=John Doe' --data='email=john@example.com'

Supported options

Option Description Default
--url Required. URL to make the HTTP request to.
--method HTTP request method (GET, POST, DELETE, PATCH) POST
--retry Number of retries 1
--timeout Request timeout 5
--headers Headers to pass. Multiple values allowed.
--data Data to pass. Multiple values allowed.
--queue Doesn't expect any values. Whether the job should be queued. false

Installation

You can install the package via composer:

composer require maxkostinevich/artisan-ping

Testing

composer test

Credits

MIT License

(c) 2020 Max Kostinevich - All rights reserved.

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固