PHPackages                             exfriend/download - 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. exfriend/download

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

exfriend/download
=================

Bulletproof downloads for PHP

1.3(6y ago)11191MITPHP

Since Apr 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/exfriend/download)[ Packagist](https://packagist.org/packages/exfriend/download)[ RSS](/packages/exfriend-download/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (5)Used By (0)

Overview
--------

[](#overview)

This helper was originally created for using from within a plugin on some old WordPress installations running in different environments.

It does it's best to fetch the content using php-curl, file\_get\_contents and pure sockets. Supports HTTPS. Enjoy!

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

[](#installation)

```
composer require exfriend/download @dev
```

Usage
-----

[](#usage)

```
$html = download( 'https://example.com' );
```

Credits
-------

[](#credits)

[Serpentine.io](https://serpentine.io)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~28 days

Total

4

Last Release

2512d ago

### Community

Maintainers

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

---

Top Contributors

[![librevlad](https://avatars.githubusercontent.com/u/49364343?v=4)](https://github.com/librevlad "librevlad (4 commits)")[![exfriend](https://avatars.githubusercontent.com/u/769995?v=4)](https://github.com/exfriend "exfriend (2 commits)")

---

Tags

curldownloadphpsocketswordpressstreamlaravelcurlsocketsdownload

### Embed Badge

![Health badge](/badges/exfriend-download/health.svg)

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

###  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)[versionable/prospect

Library for making HTTP requests

101.0k](/packages/versionable-prospect)

PHPackages © 2026

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