PHPackages                             zobzn/zbz-uri - 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. zobzn/zbz-uri

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

zobzn/zbz-uri
=============

URI Manipulation

0.0.1(10y ago)0128MITPHPPHP &gt;=5.3.0

Since Jan 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/zobzn/zbz-uri)[ Packagist](https://packagist.org/packages/zobzn/zbz-uri)[ Docs](http://github.com/zobzn/zbz-uri)[ RSS](/packages/zobzn-zbz-uri/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

zbz-uri
=======

[](#zbz-uri)

[![Build Status](https://camo.githubusercontent.com/c55c50187e4d5afb142ab74d8c917836c40c1e2c832e691763472153d58df7f7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7a6f627a6e2f7a627a2d7572692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/zobzn/zbz-uri)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

URI manipulation library

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

[](#installation)

```
composer require zobzn/zbz-uri
```

Basic Usage
-----------

[](#basic-usage)

```
$uri = Zbz\Uri::get('http://examplex.org/index.php?key1=val1#title')
    ->withScheme('https')
    ->withAuthority('example.com')
    ->withPath('/index.htm')
    ->withQuery('key2=val2')
    ->withFragment('content');

var_export(array(
    (string) $uri,
    $uri->getScheme(),
    $uri->getAuthority(),
    $uri->getPath(),
    $uri->getQuery(),
    $uri->getFragment(),
));
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3777d ago

### Community

Maintainers

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

---

Top Contributors

[![zobzn](https://avatars.githubusercontent.com/u/579620?v=4)](https://github.com/zobzn "zobzn (9 commits)")

---

Tags

urluri

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zobzn-zbz-uri/health.svg)

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

###  Alternatives

[league/uri-components

URI components manipulation library

31932.3M67](/packages/league-uri-components)[sabre/uri

Functions for making sense out of URIs.

29335.2M40](/packages/sabre-uri)[cybercog/laravel-optimus

An Optimus bridge for Laravel. Id obfuscation based on Knuth's multiplicative hashing method.

192564.1k](/packages/cybercog-laravel-optimus)[opis/uri

Build, parse and validate URIs and URI-templates

1620.8M6](/packages/opis-uri)[ml/iri

IRI handling for PHP

276.4M6](/packages/ml-iri)[rowbot/url

A WHATWG URL spec compliant URL parser for working with URLs and their query strings.

19648.2k4](/packages/rowbot-url)

PHPackages © 2026

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