PHPackages                             veejay/address - 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. veejay/address

Abandoned → [veejay/http](/?search=veejay%2Fhttp)Library[Utility &amp; Helpers](/categories/utility)

veejay/address
==============

Object oriented wrapper for parse\_url

v1.0.0(5y ago)19MITPHPPHP &gt;=7.0.0

Since Feb 22Pushed 5y agoCompare

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

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

Object oriented wrapper for parse\_url
======================================

[](#object-oriented-wrapper-for-parse_url)

Wrapper for function [parse\_url()](https://www.php.net/manual/ru/function.parse-url.php)in OOP-style. Allows you to parse, modificate and create url.

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/91b8e324731c7ed508de0f8a6bd4fb53236b6038b5909e2f1e637b941bc43535/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5665656a61797370622f616464726573732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Veejayspb/address/?branch=master)

Examples
--------

[](#examples)

```
$url = 'https://domain.ru/index.php?arg=value#anchor';
$address = new \veejay\address\Address($url);

// Relative address
$address->path = 'test.php';
$address->fragment = 'h1';
echo $address->rel(); // /test.php?arg=value#h1

// Absolute address
$address->query = ['param' => 1];
$address->fragment = null;
echo $address->abs(); // https://domain.ru/test.php?param=1
```

Requirements
------------

[](#requirements)

- PHP 7.0+

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

[](#installation)

```
composer require "veejay/address"

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

1910d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0477738d395315d1e503662d7b841674d84d42a5aad8c294c26787f54b255d14?d=identicon)[veejay](/maintainers/veejay)

---

Top Contributors

[![Veejayspb](https://avatars.githubusercontent.com/u/46869937?v=4)](https://github.com/Veejayspb "Veejayspb (1 commits)")

---

Tags

urlparse\_urladdress

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/veejay-address/health.svg)

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

###  Alternatives

[spatie/url

Parse, build and manipulate URL's

73914.3M97](/packages/spatie-url)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[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)[spomky-labs/base64url

Base 64 URL Safe Encoding/Decoding PHP Library

15439.5M49](/packages/spomky-labs-base64url)[opis/uri

Build, parse and validate URIs and URI-templates

1620.8M6](/packages/opis-uri)

PHPackages © 2026

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