PHPackages                             markmarushak/curlapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. markmarushak/curlapi

ActiveLibrary[HTTP &amp; Networking](/categories/http)

markmarushak/curlapi
====================

connect to API by curl request

020PHP

Since Dec 13Pushed 7y agoCompare

[ Source](https://github.com/markmarushak/curlapi)[ Packagist](https://packagist.org/packages/markmarushak/curlapi)[ RSS](/packages/markmarushak-curlapi/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

curl API SDK For PHP
====================

[](#curl-api-sdk-for-php)

[![Build Status](https://camo.githubusercontent.com/04e3c3ac765ae275732d17bd65a4bdade71a64926e69474168be50e7f135a0e4/68747470733a2f2f7472617669732d63692e6f72672f4d61646e657373434f44452f566f6c75756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MadnessCODE/Voluum)[![Latest Stable Version](https://camo.githubusercontent.com/1fd8ab4f351b9ac7f1b4e22d62d2fb8f231e624c6fc0997f1f8bab3b17457d34/68747470733a2f2f706f7365722e707567782e6f72672f6d61646e657373636f64652f766f6c75756d2f762f737461626c65)](https://packagist.org/packages/madnesscode/voluum)[![Total Downloads](https://camo.githubusercontent.com/d32d943d478aa90fc4ff745b3d8f7ed5a2fc7feea5488e535ff2a5802c2740da/68747470733a2f2f706f7365722e707567782e6f72672f6d61646e657373636f64652f766f6c75756d2f646f776e6c6f616473)](https://packagist.org/packages/madnesscode/voluum)[![License](https://camo.githubusercontent.com/26e2d4f7ea338e084d3a2431713def891a93b806bf7554a2e89f9e99b226b7cf/68747470733a2f2f706f7365722e707567782e6f72672f6d61646e657373636f64652f766f6c75756d2f6c6963656e7365)](https://packagist.org/packages/madnesscode/voluum)

This repository contains the open source PHP that allows you to access the REST API

Installation
------------

[](#installation)

The Curl API can be installed with [Composer](https://getcomposer.org/). Run this command:

```
composer require markmarushak/curlapi
```

Usage
-----

[](#usage)

> **Note:** This version of the curl API SDK for PHP requires PHP 5.6 or greater.

Example

```
$argument_1 = 'test@example.com';
$argument_2 = 'test';

$client = new Voluum\Client\API(new Voluum\Auth\PasswordCredentials($argument_1, $argument_2));

$report_api = new Voluum\API($client);
```

Or use access id and key:

```
$access_key_id = "access_key_id";
$access_key = "access_key";

$client = new Voluum\Client\API(new Voluum\Auth\AccessKeyCredentials($access_key_id, $access_key));

$report_api = new Voluum\API($client);
```

How to get report:

```
$result = $report_api->get("report", [
   "from" => date("Y-m-d"),
   "to" => date("Y-m-d"),
   "groupBy" => "campaign"
]);

//Get result as json
echo $result->getJson();

//Get result as object
var_dump($result->getData());
```

Create new lander:

```
$result = $report_api->post("lander", [
   "namePostfix" => "Test",
   "url" => "http://example.com"
]);
```

Edit lander:

```
$result = $report_api->put("lander/xxxxx-xxxxxx-xxxxxx-xxxxx", [
   "namePostfix" => "Test 1",
   "url" => "http://example.com"
]);
```

Delete lander:

```
$result = $report_api->delete("lander", [
   "ids" => "xxxxx-xxxxxx-xxxxxx-xxxxxx"
]);
```

documentation voluum! [here](https://developers.voluum.com/). documentation adsBridge [here](https://api.adsbridge.com/api/).

License
-------

[](#license)

Please see the [license file](https://github.com/markmarushak/CurlApi/blob/master/LICENSE) for more information.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24566664?v=4)[Mark](/maintainers/markmarushak)[@markmarushak](https://github.com/markmarushak)

---

Top Contributors

[![mark-marushak](https://avatars.githubusercontent.com/u/29388333?v=4)](https://github.com/mark-marushak "mark-marushak (4 commits)")

### Embed Badge

![Health badge](/badges/markmarushak-curlapi/health.svg)

```
[![Health](https://phpackages.com/badges/markmarushak-curlapi/health.svg)](https://phpackages.com/packages/markmarushak-curlapi)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M81](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M85](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
