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

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

cyve/url
========

URL manipulation

2.0.0(1y ago)0473MITPHPPHP ^8.0

Since Oct 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cyve/url)[ Packagist](https://packagist.org/packages/cyve/url)[ RSS](/packages/cyve-url/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (18)Used By (0)

cyve/url
========

[](#cyveurl)

URL manipulation

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

[](#installation)

```
$ composer require cyve/url
```

Usage
-----

[](#usage)

```
use Cyve\Url\Url;

$url = new Url('https://user:pwd@www.domain.tld:8080/foo/bar?key=value#hash');

echo $url->scheme; // https
echo $url->username; // user
echo $url->password; // pwd
echo $url->host; // www.domain.tld
echo $url->subDomain; // www
echo $url->domain; // domain.tld
echo $url->tld; // tld
echo $url->port; // 8080
echo $url->path; // /foo/bar
echo $url->path[0]; // foo
echo $url->path[1]; // bar
echo $url->query; // key=value
echo $url->query->get('key'); // value
echo $url->query->get('undefined', 'default'); // default
echo $url->fragment; // hash
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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

Every ~131 days

Recently: every ~311 days

Total

17

Last Release

705d ago

Major Versions

1.5.0 → 2.0.02024-07-26

PHP version history (4 changes)1.0PHP &gt;=7.0

1.4.3PHP ^7.0|^8.0

1.5.0PHP ^7.4|^8.0

2.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k34](/packages/neuron-core-neuron-ai)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

346132.9M110](/packages/google-cloud-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

673139.5k6](/packages/spatie-laravel-export)[razorpay/ifsc

Razorpay IFSC Codes Library

385204.4k](/packages/razorpay-ifsc)[anthropic-ai/sdk

Anthropic PHP SDK

163372.1k15](/packages/anthropic-ai-sdk)

PHPackages © 2026

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