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

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

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 4w 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 13% 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://avatars.githubusercontent.com/u/508549?v=4)[Laith Shadeed](/maintainers/laithshadeed)[@laithshadeed](https://github.com/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)
```

###  Alternatives

[typicms/bootforms

Just a Formbuilder with some Bootstrap 5 specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.

1258.4k3](/packages/typicms-bootforms)

PHPackages © 2026

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