apolinux/curl

simple curl library

Maintainers

Details

github.com/apolinux/curl

Source

Issues

Installs: 23

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/apolinux/curl

v0.7.6 2023-10-18 15:27 UTC

This package is auto-updated.

Last update: 2025-09-18 19:29:20 UTC


README

manage some HTTP methods to make requests using curl library in PHP.

Instalation

compose require apolinux/curl

Examples

<?php

$curl = new Curl();

$payload = ['fin' => 'this is a test','bla' => 'no more'] ;

$response = $curl->postJson('https://httpbin.org',$payload);

print($response->response->toJson());
// prints:
// Array
// (
//    [fin] => this is a test
//    [bla] => no more
// )