PHPackages                             yakeing/php\_curl - 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. yakeing/php\_curl

AbandonedArchivedSymfony-bundle[HTTP &amp; Networking](/categories/http)

yakeing/php\_curl
=================

php curl class

v2.2.1(6y ago)366484MPL-2.0PHPPHP &gt;=5.6

Since Aug 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/yakeing/php_curl)[ Packagist](https://packagist.org/packages/yakeing/php_curl)[ Docs](https://github.com/yakeing/php_curl)[ RSS](/packages/yakeing-php-curl/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Curl
====

[](#curl)

Curl is an open source file transfer tool that uses URL syntax to work on the command line, where the basic functions of curl are encapsulated, such as COOKIES / encrypted transport / HTTP authentication / analog forms / upload files, etc.

### Travis CI badge

[](#travis-ci-badge)

[![Travis-ci](https://camo.githubusercontent.com/d3ef4578efa4f3024d1132ba7634a0cb46c4f13aea8ec2cb412ebfdc472d4d9c/68747470733a2f2f6170692e7472617669732d63692e636f6d2f79616b65696e672f7068705f6375726c2e7376673f6272616e63683d6d61696e)](https://travis-ci.com/yakeing/php_curl)

### codecov badge

[](#codecov-badge)

[![codecov](https://camo.githubusercontent.com/be0aa958dfc1067877527fdc8d0f47cca5225d3f136f6c56e121a29bad775b48/68747470733a2f2f636f6465636f762e696f2f67682f79616b65696e672f7068705f6375726c2f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/yakeing/php_curl)

### Github badge

[](#github-badge)

[![Downloads](https://camo.githubusercontent.com/8c97de3b6f1b75b052bdb019f693ffeeba801e0ccdfcc02c55374460a3d75c30/68747470733a2f2f342e76657263656c2e6170702f6769746875622f646f776e6c6f6164732f79616b65696e672f7068705f6375726c3f69636f6e3d676974687562)](../../)[![Size](https://camo.githubusercontent.com/762ba263dfb2a2c43a46c560bdb239703193812baae477ac23adcbb708df0257/68747470733a2f2f342e76657263656c2e6170702f6769746875622f73697a652f79616b65696e672f7068705f6375726c3f69636f6e3d676974687562)](src)[![tag](https://camo.githubusercontent.com/80b86aa2c16f4dff926892486070586c0c416216e66200a8d87306fe9dbdc6d1/68747470733a2f2f342e76657263656c2e6170702f6769746875622f7461672f79616b65696e672f7068705f6375726c3f69636f6e3d676974687562)](../../releases)[![license](https://camo.githubusercontent.com/904c4bcc21898764c7b6b7edfba26ea0d5427757cfaee2837ee7bed32124b40b/68747470733a2f2f342e76657263656c2e6170702f7374617469632f6c6963656e73652f3535352f4d504c2d322e302f6665376433373f69636f6e3d676974687562)](LICENSE)[![languages](https://camo.githubusercontent.com/5275888fd9cd7a7b85d47b803d247819aa953b27342dfa420173152309ab1a18/68747470733a2f2f342e76657263656c2e6170702f7374617469632f6c616e67756167652f3535352f5048502f3334616265663f69636f6e3d676974687562)](../../search?l=php)

### Installation

[](#installation)

Use [Composer](https://getcomposer.org) to install the library. Of course, You can go to [Packagist](https://packagist.org/packages/yakeing/php_curl) to view.

```

    $ composer require yakeing/php_curl

```

### init

[](#init)

- example

```
    $Curl = new curl();
    $curl->Encoding = 'gzip';
    $Curl->Timeout = 10;
```

### GET

[](#get)

- example

```
      $Url = 'https://github.com/yakeing';
      $Header = array(
        'User-Agent: Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.28'
      );
      $Curl->Get($Url, $Header);
```

### POST

[](#post)

- example

```
      $Url = 'https://github.com/yakeing';
      $Vars = array(
        'user'=>'admin',
        'upload'=>new CURLFile(realpath('image.jpg')) //php 5.5 Edition
        );
      $curl->UserAgent = 'Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.28';
      $Curl->Post($Url, $Vars, $Header);
```

[Sponsor](https://github.com/yakeing/Documentation/blob/master/Sponsor/README.md)
---------------------------------------------------------------------------------

[](#sponsor)

If you've got value from any of the content which I have created, then I would very much appreciate your support by payment donate.

[![Sponsor](https://camo.githubusercontent.com/8bf9004e5f53d2223ce47ceeed603c32154d9e6afa76039dd117bf91c5c1a685/68747470733a2f2f342e76657263656c2e6170702f7374617469632f53706f6e736f722f4541344141413f69636f6e3d6865617274)](https://github.com/yakeing/Documentation/blob/master/Sponsor/README.md)

Author
------

[](#author)

weibo: [yakeing](https://weibo.com/yakeing)

twitter: [yakeing](https://twitter.com/yakeing)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~359 days

Total

3

Last Release

2474d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95aaf19e492f95c5180360b25e7197ff554625372973f3555b9792a07d5cb9f2?d=identicon)[yakeing](/maintainers/yakeing)

---

Top Contributors

[![yakeing](https://avatars.githubusercontent.com/u/6356091?v=4)](https://github.com/yakeing "yakeing (10 commits)")

---

Tags

curlhttpposthttpcurlgetpost

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yakeing-php-curl/health.svg)

```
[![Health](https://phpackages.com/badges/yakeing-php-curl/health.svg)](https://phpackages.com/packages/yakeing-php-curl)
```

###  Alternatives

[phpgt/fetch

Asynchronous HTTP client with promises.

3724.0k3](/packages/phpgt-fetch)[elementaryframework/water-pipe

URL routing framework and requests/responses handler for PHP

254.6k4](/packages/elementaryframework-water-pipe)

PHPackages © 2026

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