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

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

krixon/url
==========

URL value objects

0.4.0(6y ago)028.3k↑114.3%1[1 issues](https://github.com/krixon/url/issues)MITPHPPHP &gt;=5.6

Since Mar 30Pushed 6y ago3 watchersCompare

[ Source](https://github.com/krixon/url)[ Packagist](https://packagist.org/packages/krixon/url)[ RSS](/packages/krixon-url/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (14)Used By (0)

url
===

[](#url)

[![Build Status](https://camo.githubusercontent.com/791f5bb0c53b040e9e5178618651ff15baba5b333c5fcdf40bd2918c1f3ed00d/68747470733a2f2f7472617669732d63692e6f72672f6b7269786f6e2f75726c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/krixon/url)[![Coverage Status](https://camo.githubusercontent.com/9031182f60067ce875d99c5acabe6ec3c527af435ee2f17082990a347c43bfd6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b7269786f6e2f75726c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/krixon/url?branch=master)

PHP7 URL value object library.

Prerequisites
=============

[](#prerequisites)

- PHP 5.6+

Installation
============

[](#installation)

Install via composer
--------------------

[](#install-via-composer)

To install url with Composer, run the following command:

```
$ composer require krixon/url
```

You can see this library on [Packagist](https://packagist.org/packages/krixon/url).

Install from source
-------------------

[](#install-from-source)

```
# HTTP
$ git clone https://github.com/krixon/url.git
# SSH
$ git clone git@github.com:krixon/url.git
```

Development
-----------

[](#development)

### Build Image and Run Container

[](#build-image-and-run-container)

Note: If your host machine's user does not have an ID of 1000, run the following command from the project root directory:

```
echo "DEV_UID=$(id -u)" > .env
```

This ensures that any files created in mounted directories have the correct permissions. It will also cause the host user's SSH keys and Composer cache to be used inside the container.

Build image:

`$ docker-compose build`

Install dependencies:

`$ docker-compose run --rm library composer install`

### Run the tests

[](#run-the-tests)

`$ docker-compose run --rm library composer test`

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~90 days

Recently: every ~227 days

Total

12

Last Release

2395d ago

### Community

Maintainers

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

---

Top Contributors

[![sbattistin](https://avatars.githubusercontent.com/u/20923264?v=4)](https://github.com/sbattistin "sbattistin (1 commits)")[![vaeryn-uk](https://avatars.githubusercontent.com/u/4663771?v=4)](https://github.com/vaeryn-uk "vaeryn-uk (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[artesaos/cidadesbr

547.8k](/packages/artesaos-cidadesbr)

PHPackages © 2026

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