PHPackages                             exfriend/uncurl - 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/uncurl

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

exfriend/uncurl
===============

Unfurl links in PHP

1.0.5(7y ago)1199MITPHPPHP ^7.1

Since Apr 4Pushed 7y ago1 watchersCompare

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

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

Unfurl links in PHP
===================

[](#unfurl-links-in-php)

This package unwraps urls like t.co or bit.ly to actual destination urls by doing an HTTP request and remembering the redirect chain.

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

[](#installation)

You can install the package via composer:

```
composer require exfriend/uncurl
```

Usage
-----

[](#usage)

Get the whole chain:

```
unfurl('http://google.com')->all();
// returns [ 'https://google.com', 'https://www.google.com' ];
```

Get the final destination:

```
unfurl('http://google.com')->last();
// returns 'https://www.google.com';

(string) unfurl('http://google.com')
// same as above
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Serpentine.io - The missing Google Search API](https://serpentine.io)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~3 days

Total

4

Last Release

2588d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phplaravelcurlcrawlerunfurl

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[stefangabos/zebra_curl

A high performance solution for making multiple HTTP requests concurrently, asynchronously from your PHP projects using cURL

21971.3k2](/packages/stefangabos-zebra-curl)[vinelab/http

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

59300.2k11](/packages/vinelab-http)[basement-chat/basement-chat

Add a real-time chat widget to your Laravel application.

4983.9k](/packages/basement-chat-basement-chat)[unikent/curl

Laravel Curl Helper Library.

1442.4k](/packages/unikent-curl)[smochin/instagram-php-crawler

A simple PHP Crawler for Instagram

459.8k](/packages/smochin-instagram-php-crawler)

PHPackages © 2026

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