PHPackages                             chuoke/uri-meta - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. chuoke/uri-meta

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

chuoke/uri-meta
===============

Get URI META

0.0.4(4y ago)03MITPHPPHP ^8.0

Since Jul 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/chuoke/uri-meta)[ Packagist](https://packagist.org/packages/chuoke/uri-meta)[ Docs](https://github.com/chuoke/uri-meta)[ GitHub Sponsors](https://github.com/chuoke)[ RSS](/packages/chuoke-uri-meta/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (0)

Get URI META
============

[](#get-uri-meta)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c98725919b06033c4328415082bc0d7e1e21121de1c4189171f2e78a2e79941f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368756f6b652f7572692d6d6574612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chuoke/uri-meta)[![GitHub Tests Action Status](https://camo.githubusercontent.com/db4eca07ad0f34781387321fe3dbbfea6b5d7be53549cc65c9e1a3d0fbb4b119/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368756f6b652f7572692d6d6574612f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/chuoke/uri-meta/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d3f502414e9134a92cfe95277c7847d0434f8f19e95885b84d35eb5d1e9c53ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368756f6b652f7572692d6d6574612f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/chuoke/uri-meta/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/a42b93538cd22aac49584c51b1df445e4da248e9f1803d818228208a3c07e828/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368756f6b652f7572692d6d6574612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chuoke/uri-meta)

---

This package can be used as to extract the META information of the URI.

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

[](#installation)

You can install the package via composer:

```
composer require chuoke/uri-meta
```

Usage
-----

[](#usage)

```
    $extracter = new UriMetaExtracter();

    $uriMeta = $extracter->extract('https://www.php.net/');

    echo $uriMeta->title(); // PHP: Hypertext Preprocessor

    print_r($uriMeta->toArray());
    // Array
    // (
    //     [uri] => https://www.php.net/
    //     [host] => www.php.net
    //     [scheme] => https
    //     [title] => PHP: Hypertext Preprocessor
    //     [description] => https://www.php.net/
    //     [keywords] =>
    //     [icons] => Array
    //         (
    //             [0] => https://www.php.net/favicon.ico
    //         )

    // )

    $uriMeta = $extracter->extract('https://github.com/php/php-src');

    print_r($uriMeta->toArray());
    // Array
    // (
    //     [uri] => https://github.com/php/php-src
    //     [host] => github.com
    //     [scheme] => https
    //     [title] => GitHub - php/php-src: The PHP Interpreter
    //     [description] => The PHP Interpreter. Contribute to php/php-src development by creating an account on GitHub.
    //     [keywords] =>
    //     [icons] => Array
    //         (
    //             [0] => https://github.githubassets.com/favicons/favicon.svg
    //             [1] => https://github.githubassets.com/pinned-octocat.svg
    //             [2] => https://github.com/favicon.ico
    //         )
    // )
```

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

4

Last Release

1689d ago

### Community

Maintainers

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

---

Top Contributors

[![chuoke](https://avatars.githubusercontent.com/u/17611457?v=4)](https://github.com/chuoke "chuoke (15 commits)")

---

Tags

uri meta

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/chuoke-uri-meta/health.svg)

```
[![Health](https://phpackages.com/badges/chuoke-uri-meta/health.svg)](https://phpackages.com/packages/chuoke-uri-meta)
```

###  Alternatives

[ashallendesign/favicon-fetcher

A Laravel package for fetching website's favicons.

190272.4k3](/packages/ashallendesign-favicon-fetcher)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[spatie/laravel-rdap

Perform RDAP queries in a Laravel app

72108.3k2](/packages/spatie-laravel-rdap)[crescat-io/saloon-sdk-generator

Simplified SDK Scaffolding for Saloon

13130.9k7](/packages/crescat-io-saloon-sdk-generator)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)

PHPackages © 2026

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