PHPackages                             sanmai/parsed-url - 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. sanmai/parsed-url

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

sanmai/parsed-url
=================

Object-oriented interface to parse\_url/parse\_str

v1.0.4(2y ago)1780MITPHPPHP &gt;=7.4CI passing

Since Feb 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sanmai/parsed-url)[ Packagist](https://packagist.org/packages/sanmai/parsed-url)[ GitHub Sponsors](https://github.com/sanmai)[ RSS](/packages/sanmai-parsed-url/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/1f3a4cfe715ae4c0dda5913620d53dcec5e5b9495b07c90a600454859ad2b03c/68747470733a2f2f706f7365722e707567782e6f72672f73616e6d61692f7061727365642d75726c2f762f737461626c65)](https://packagist.org/packages/sanmai/parsed-url)[![Coverage Status](https://camo.githubusercontent.com/2ddbdd7708fca120683aa06b335402ceb23f29bc8a37fc949095eb999f8a4099/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73616e6d61692f7061727365642d75726c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/sanmai/parsed-url?branch=master)

Install
=======

[](#install)

```
composer require sanmai/parsed-url

```

Use
===

[](#use)

```
$url = new \ParsedUrl\ParsedUrl('https://www.example.com/index.html?foo=bar&baz=1');

var_dump($url->scheme); // string(5) "https"

var_dump($url->host); // string(15) "www.example.com"

var_dump($url->path); // "/index.html"

var_dump($url->query); // string(13) "foo=bar&baz=1"

var_dump($url->query()->foo); // string(3) "bar"
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~369 days

Total

5

Last Release

815d ago

PHP version history (5 changes)v1.0PHP ^7.3

v1.0.1PHP ^7.0

v1.0.2PHP ^7.0 || ^8.0

v1.0.3PHP &gt;=7

v1.0.4PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![sanmai](https://avatars.githubusercontent.com/u/139488?v=4)](https://github.com/sanmai "sanmai (22 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/sanmai-parsed-url/health.svg)

```
[![Health](https://phpackages.com/badges/sanmai-parsed-url/health.svg)](https://phpackages.com/packages/sanmai-parsed-url)
```

###  Alternatives

[phauthentic/cognitive-code-analysis

4410.1k](/packages/phauthentic-cognitive-code-analysis)[jacobemerick/kmeans

k-means clustering implemented in PHP

126.4k](/packages/jacobemerick-kmeans)

PHPackages © 2026

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