PHPackages                             laithshadeed/uri-parser - 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. laithshadeed/uri-parser

ActiveLibrary

laithshadeed/uri-parser
=======================

06Hack

Since Feb 1Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/698c60cb6b6397ffafd4d9d4c7cf7f3960750f453eafee89dd2492150dfbfcae/68747470733a2f2f7472617669732d63692e6f72672f6c61697468736861646565642f7572692d7061727365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/laithshadeed/uri-parser)

```
An attempt in 2016 to explore Hack lang and revisit PHP & its ecosystem after last time I used it in 2014.

```

uri-parser
----------

[](#uri-parser)

Sample URI Parser - Not meant to be used in production

Install
-------

[](#install)

```
composer require laithshadeed/uri-parser

```

Usage
-----

[](#usage)

```
$uri = new Http\Uri('http://عربي.امارات/أسئلة-متكررة?مستحيل=نعم');
echo $uri->host;

```

Hack &amp; Travis
-----------------

[](#hack--travis)

The code is written in Hack. I use h2tp to transpile it into plain PHP. To make travis build successfully for non-hhvm versions, I added ./transpile file. It does the following:

- transpile {src,test} -&gt; php/{src,test}
- Copy hhvm libs, vendor, phpunit configs -&gt; ./php

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d19cb476f19632741d64fd8252e856623364f6192d06a13ede7a3d99e170b75?d=identicon)[laithshadeed](/maintainers/laithshadeed)

---

Top Contributors

[![laithshadeed](https://avatars.githubusercontent.com/u/508549?v=4)](https://github.com/laithshadeed "laithshadeed (21 commits)")

### Embed Badge

![Health badge](/badges/laithshadeed-uri-parser/health.svg)

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

PHPackages © 2026

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