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

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

nueip/curl
==========

NuEIP Curl.

0.4.2(4y ago)25501MITPHPPHP ^7

Since Nov 15Pushed 4y ago2 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (17)Used By (0)

curl-helper
===========

[](#curl-helper)

### Default Parameters

[](#default-parameters)

```
$config = [
  // Title for recognize
  title => '',
  // Targe url
  url => '',
  // Request method
  type => '',
  // Request argements
  data => [],
  // Extra curl options
  curlOpt => [],
  // Cookie content
  cookies => [],
];
```

### Excute Crawler

[](#excute-crawler)

```
// Set config
$config = new CrawlerConfig([
  'title' => '',
  'url' => '',
  'type' => '',
  'data' => [],
  'curlOpt' => [],
  'cookies' => [],
]);

// Execute crawler
$result = Crawler::run($config)
```

### Data

[](#data)

idusernamepasswordemail5241admin1234566542user1user1\_pass6543user2user2\_pass---

Example
-------

[](#example)

### Get method

[](#get-method)

#### List all data

[](#list-all-data)

- Example: ```
    $config = new CrawlerConfig([
      'title' => 'List all data',
      'url' => 'https://example.com/tests/fakeWeb/index.php',
      'type' => 'get',
    ]);

    $result = Crawler::run($config);
    ```
- Output: ```
    $result = [
      'code' => 200,
      'message' => 'success',
      'data' => [
        '5241' => [
          'id' => 5241,
          'username' => 'admin',
          'password' => '123456',
          'email' => 'admin@example.com'
        ],
        '6542' => [
          'id' => 6542,
          'username' => 'user1',
          'password' => 'user1_pass',
          'email' => 'user1@example.com'
        ],
        '6543' => [
          'id' => 6543,
          'username' => 'user2',
          'password' => 'user2_pass',
          'email' => 'user2@example.com'
        ]
      ]
    ];
    ```

#### List someone data

[](#list-someone-data)

- example ```
    $config = new CrawlerConfig([
      'title' => 'List someone member',
      'url' => 'https://example.com/tests/fakeWeb/index.php?id=6543',
      'type' => 'get',
    ]);

    $result = Crawler::run($config);
    ```
- Output ```
    $result = [
      'code' => 200,
      'message' => 'success',
      'data' => [
        'id' => 6543,
        'username' => 'user2',
        'password' => 'user2_pass',
        'email' => 'user2@example.com'
      ]
    ];
    ```

### Post method

[](#post-method)

#### login

[](#login)

- example ```
    $config = new CrawlerConfig([
      'title' => 'Login',
      'url' => 'https://example.com/tests/fakeWeb/index.php',
      'type' => 'post',
      'data' => [
        'username' => 'admin',
        'password' => '123456',
      ]
    ]);

    $result = Crawler::run($config);
    ```
- Output: ```
    $result = [
      'code' => 200,
      'message' => 'Login success',
    ];
    ```

### Put method

[](#put-method)

#### Edit data

[](#edit-data)

- example ```
    $config = new CrawlerConfig([
      'title' => 'Edit data',
      'url' => 'https://example.com/tests/fakeWeb/index.php',
      'type' => 'put',
      'data' => [
        'id' => '1234',
        'email' => '123@gmail.com',
      ],
    ]);

    $result = Crawler::run($config);
    ```
- Output ```
    $result = [
      'code' => 200,
      'message' => 'success',
      'data' => [
        'id' => '1234',
        'email' => '123@gmail.com',
        'username' => 'admin',
        'password' => '123456'
      ]
    ];
    ```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

Every ~51 days

Recently: every ~124 days

Total

14

Last Release

1709d ago

PHP version history (3 changes)0.1.0PHP ^7.0

0.3.0PHP ^7.4

0.4.2PHP ^7

### Community

Maintainers

![](https://www.gravatar.com/avatar/942836f1d8cd35bae7a32f3d2998cf2c769179e8ea4026db206154de187a272e?d=identicon)[nueip](/maintainers/nueip)

![](https://www.gravatar.com/avatar/6bd60e16d77c1a5d8ade5391d4467721da169c487886b9f568586bcc66661050?d=identicon)[gunter1020](/maintainers/gunter1020)

---

Top Contributors

[![gunter1020](https://avatars.githubusercontent.com/u/15287859?v=4)](https://github.com/gunter1020 "gunter1020 (46 commits)")

---

Tags

crawlerphp

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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