承接 salient/curler 相关项目开发

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

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

salient/curler

最新稳定版本:v0.99.81

Composer 安装命令:

composer require salient/curler

包简介

The Curler component of the Salient toolkit

README 文档

README

The Curler component of the Salient toolkit

Latest Stable Version License CI Status Code Coverage

salient/curler provides an HTTP client optimised for RESTful API endpoints.

  • Simple, fluent interface for sending HEAD, GET, POST, PUT, PATCH and DELETE requests
  • Flexible query string and payload handling
  • Uses generators to iterate over data from endpoints that use pagination
  • Optional response cache for HEAD, GET and repeatable POST requests
  • Optional cookie handling and persistence
  • Uses PSR-7 request, response and stream interfaces
  • Implements PSR-18 (HTTP Client)
  • Behaviour can be customised via stackable middleware
  • Generates HTTP Archive (HAR) files for debugging and analysis
<?php
$curler = new \Salient\Curler\Curler('https://api.github.com/repos/salient-labs/toolkit/releases/latest');
echo 'Latest release: ' . $curler->get()['tag_name'] . \PHP_EOL;

Documentation

API documentation for salient/curler tracks the main branch of the toolkit's GitHub repository, where further documentation can also be found.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-20