PHPackages                             xiaojiays/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. xiaojiays/curl

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

xiaojiays/curl
==============

Custom PHP Curl library for the Laravel 5 framework - developed by xiaojiays

0.3.0(10y ago)44661[1 issues](https://github.com/xiaojiays/curl/issues)MITPHPPHP &gt;=5.4.0

Since Oct 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/xiaojiays/curl)[ Packagist](https://packagist.org/packages/xiaojiays/curl)[ Docs](https://github.com/xiaojiays/curl)[ RSS](/packages/xiaojiays-curl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

laravel-curl
============

[](#laravel-curl)

a curl extension for laravel 5

\#Install add this to the composer.json file:

```
{
    "require": {
        "xiaojiays/curl": "~0.3.0"
    }
}

```

add this to the config/app.php file:

```
'providers' => [
    Xiaojiays\Curl\CurlServiceProvider::class,
],

```

add this to the config/app.php file:

```
'facades' => [
    'Curl' => Xiaojiays\Curl\Facades\Curl::class,
],

```

\#Usage

```
//send a get request
\Curl::get('http://www.xx.com');

//send a get request in 2 seconds
\Curl::getInSeconds('http://www.xx.com', 2);

//send a get request in 2 milliseconds
\Curl::getInMilliseconds('http://www.xx.com?a=1', 2)

//send a post request
\Curl::post('http://www.xx.com', ['a' => 1, 'b' => 2]);

//send a post request in 2 seconds
\Curl::postInSeconds('http://www.xx.com', ['a' => 1, 'b' => 2], 2);

//send a post request in 2 milliseconds
\Curl::postInMillieconds('http://www.xx.com', ['a' => 1, 'b' => 2], 2);

//download a file
\Curl::download('http://www.xx.com', '1.html');

//send multi get requests
\Curl::multiGet(['http://www.xx.com', 'http://www.mm.com']);

```

\#Notice I haven't test it!

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9519dbcf2bff8a069b501b34ac064e7ba2ca61ed5beb50aa7f417403de1857a4?d=identicon)[xiaojiays](/maintainers/xiaojiays)

---

Top Contributors

[![xiaojiays](https://avatars.githubusercontent.com/u/5954649?v=4)](https://github.com/xiaojiays "xiaojiays (1 commits)")

---

Tags

laravelcurl

### Embed Badge

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

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

###  Alternatives

[ixudra/curl

Custom PHP Curl library for the Laravel framework - developed by Ixudra

5594.5M90](/packages/ixudra-curl)[vinelab/http

An http library developed for the laravel framework. aliases itself as HttpClient

59300.2k11](/packages/vinelab-http)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[jigarakatidus/laravel-http-to-curl

Extended Http to dump and die with Curl command

3060.6k](/packages/jigarakatidus-laravel-http-to-curl)[onlime/laravel-http-client-global-logger

A global logger for the Laravel HTTP Client

1935.1k](/packages/onlime-laravel-http-client-global-logger)

PHPackages © 2026

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