PHPackages                             pointybeard/uriinfo - 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. pointybeard/uriinfo

ActiveLibrary

pointybeard/uriinfo
===================

Helper class for probing a URL with cURL and returning information about it.

1.0.1(7y ago)1411MITPHPPHP &gt;=5.6.6

Since Oct 8Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (3)Used By (1)

URI Info
========

[](#uri-info)

- Version: v1.0.0
- Date: Oct 08 2018
- [Release notes](https://github.com/pointybeard/uriinfo/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/uriinfo)

[![Latest Stable Version](https://camo.githubusercontent.com/ba11f02736de710e1281b62efd84e4fdc41623408e1f1bfe641b5b772b621bf5/68747470733a2f2f706f7365722e707567782e6f72672f706f696e747962656172642f757269696e666f2f76657273696f6e)](https://packagist.org/packages/pointybeard/uriinfo) [![License](https://camo.githubusercontent.com/29af2fd1eb4ff59e58f5592d94e4ce7c72256ab6705026971946cc68052ba67e/68747470733a2f2f706f7365722e707567782e6f72672f706f696e747962656172642f757269696e666f2f6c6963656e7365)](https://packagist.org/packages/pointybeard/uriinfo)

Helper class for probing a URL with cURL and returning information about it.

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

[](#installation)

URIInfo is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/uriinfo` or add `"pointybeard/uriinfo": "~1.0"` to your `composer.json` file.

Usage Example
=============

[](#usage-example)

Here is a quick and dirty example of how to use this group of classes

```

include "vendor/autoload.php";

use pointybeard\URIInfo\Lib;

$info = (new Lib\URIInfo("https://example.com"))->run();

## Check the HTTP Status code
var_dump($info->http_code);

```

Available Properties
====================

[](#available-properties)

This class uses cURL to probe the URL supplied. The properties available match those available from a call to `curl_exec()`. Specifically these are:

```
url, content_type, http_code, header_size, request_size, filetime, ssl_verify_result, redirect_count, total_time, namelookup_time, connect_time, pretransfer_time, size_upload, size_download, speed_download, speed_upload, download_content_length, upload_content_length, starttransfer_time, redirect_time, certinfo, primary_ip, primary_port, local_ip, local_port, redirect_url, request_header

```

See the [curl\_exec() method in the PHP Manual](http://php.net/manual/en/function.curl-getinfo.php#refsect1-function.curl-getinfo-returnvalues) for more information

Support
-------

[](#support)

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/pointybeard/uriinfo/issues), or better yet, fork the library and submit a pull request.

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

[](#contributing)

We encourage you to contribute to this project. Please check out the [Contributing documentation](https://github.com/pointybeard/uriinfo/blob/master/CONTRIBUTING.md) for guidelines about how to get involved.

License
-------

[](#license)

"URIInfo" is released under the [MIT License](http://www.opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

2

Last Release

2770d ago

### Community

Maintainers

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

---

Top Contributors

[![pointybeard](https://avatars.githubusercontent.com/u/24912?v=4)](https://github.com/pointybeard "pointybeard (2 commits)")

### Embed Badge

![Health badge](/badges/pointybeard-uriinfo/health.svg)

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

PHPackages © 2026

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