PHPackages                             hamway/lcurl - 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. hamway/lcurl

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

hamway/lcurl
============

Laravel package for work with curl

v2.0.2(10y ago)139MITPHPPHP &gt;=5.4.0

Since Oct 20Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (6)Used By (0)

lcurl
=====

[](#lcurl)

Author: Evgeny Anoykin

A Laravel Curl library for get content via proxy or direct (support random user agents, random interval between requests).

Requirements
------------

[](#requirements)

- curl
- Laravel &gt;= 4.2 (v1.x)
- Laravel &gt;= 5.1 (v2.x)

Soon
----

[](#soon)

- Post request supported

How to install?
---------------

[](#how-to-install)

Require this package with composer using the following command:

```
composer require hamway/lcurl

```

After updating composer, add the service provider to the providers array in config/app.php

```
'Hamway\LCurl\LCurlServiceProvider',

```

And alias

```
'LCurl' => 'Hamway\LCurl\Facades\LCurl',

```

How to configure?
-----------------

[](#how-to-configure)

After install library ready to use. But may be configure. For publish package config use command:

```
php artisan config:publish hamway/lcurl

```

Package configuration file example:

```
return array(
	'timeout'   => 50,				// Max curl timeout
	'userAgent' => true,			// Generate useragent
	'sleep'     => [				// pause between requests in seconds
		'min' => 0,
		'max' => 0
	],
	'proxy'     => false,			// use proxy
	'proxyList' => [				// proxy list
		'118.97.194.49:8080'
	]
);

```

How to use?
-----------

[](#how-to-use)

Build url for request:

```
LCurl::buildUrl($url, array $query)

```

Get page content:

```
LCurl::get($url)

```

Get image from page (saveTo - path to image if need save):

```
LCurl::getImage($url, $saveTo)

```

License
-------

[](#license)

lcurl is offered under the MIT license. See the LICENSE file.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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 ~92 days

Total

4

Last Release

3951d ago

Major Versions

v0.1.0 → v1.22015-07-23

v1.2.2 → v2.0.22015-07-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/efd32c0de61ee93d67afc995529d5aa27e17cc41b89b33a466a11e46dcafa4d0?d=identicon)[hamway](/maintainers/hamway)

---

Top Contributors

[![hamway](https://avatars.githubusercontent.com/u/390578?v=4)](https://github.com/hamway "hamway (18 commits)")

---

Tags

laravelcurl

### Embed Badge

![Health badge](/badges/hamway-lcurl/health.svg)

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

###  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)[jigarakatidus/laravel-http-to-curl

Extended Http to dump and die with Curl command

3060.6k](/packages/jigarakatidus-laravel-http-to-curl)[laravel-shift/curl-converter

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

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

Laravel Curl Helper Library.

1442.4k](/packages/unikent-curl)

PHPackages © 2026

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