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

Abandoned → [league/url](/?search=league%2Furl)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

bakame/url
==========

League/url is a lightweight PHP Url manipulating library

3.3.5(10y ago)3481745MITPHPPHP &gt;=5.3.0

Since Nov 19Pushed 9y ago2 watchersCompare

[ Source](https://github.com/thephpleague/url)[ Packagist](https://packagist.org/packages/bakame/url)[ Docs](http://url.thephpleague.com)[ RSS](/packages/bakame-url/feed)WikiDiscussions 3.x Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (29)Used By (0)

Url version 3
=============

[](#url-version-3)

League\\Url 3 is EOL since 2015-09-23
=====================================

[](#leagueurl-3-is-eol-since-2015-09-23)

**This repository is for the legacy Url version 3, [the new version](https://github.com/thephpleague/uri) is available at .**

[![Build Status](https://camo.githubusercontent.com/8c0e8f2ad297d9b9377b5c791bf6998912c4d4b7e534f746eaceebb094e38d33/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7468657068706c65616775652f75726c2f332e782e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/thephpleague/url)[![Coverage Status](https://camo.githubusercontent.com/40f95275e6b8b01252bb5a2625da1f8fc90610d3f7854700ca4ebd700540860e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7468657068706c65616775652f75726c2f332e782e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/url/?branch=3.x)[![Quality Score](https://camo.githubusercontent.com/b2934af4c6a31905ea05b08e11bf74a514ce42c9ab74ad72eba57575ac6103c7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7468657068706c65616775652f75726c2f332e782e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/url/?branch=3.x)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Latest Version](https://camo.githubusercontent.com/36d72e6cfba6e768a78c9dd4c2709fc167027e93ba03281968d7171d55d35f14/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7468657068706c65616775652f75726c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/url/releases)[![Total Downloads](https://camo.githubusercontent.com/1d9f84a936f1c9e465897f764b076f6d4c9239b4c216c343362d073c3f096dc5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f75726c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/url)

Url is a simple library to ease creating and managing Urls in PHP.

This package is compliant with [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md), and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md).

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

[](#requirements)

You need **PHP &gt;= 5.3.0** and the `mbstring` extension to use the library, but the latest stable version of PHP is recommended.

Install
-------

[](#install)

Install `Url` using Composer.

```
composer require league/url

```

This will edit (or create) your `composer.json` file and automatically choose the most recent version in the 3.x serie.

#### Going Solo

[](#going-solo)

You can also use `League\Url` without using Composer by [downloading the library](https://github.com/thephpleague/url/releases) and using a [PSR-4](http://www.php-fig.org/psr/psr-4/) compatible autoloader.

Documentation
-------------

[](#documentation)

`League\Url` is [fully documented](http://url.thephpleague.com). Contribute to this documentation in the [gh-pages branch](https://github.com/thephpleague/url/tree/gh-pages).

Testing
-------

[](#testing)

```
$ phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [ignace nyamagana butera](https://github.com/nyamsprod)
- [All Contributors](graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~24 days

Total

29

Last Release

3885d ago

Major Versions

1.0.1 → 2.0.02013-11-20

2.1.2 → 3.0.0-beta.12014-06-01

3.3.2 → 4.0.0-beta.12015-06-03

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

4.0.0-beta.1PHP &gt;=5.4.7

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/51073?v=4)[Ignace Nyamagana Butera](/maintainers/nyamsprod)[@nyamsprod](https://github.com/nyamsprod)

---

Top Contributors

[![nyamsprod](https://avatars.githubusercontent.com/u/51073?v=4)](https://github.com/nyamsprod "nyamsprod (307 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (5 commits)")[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (2 commits)")[![mkly](https://avatars.githubusercontent.com/u/965353?v=4)](https://github.com/mkly "mkly (1 commits)")[![mlocati](https://avatars.githubusercontent.com/u/928116?v=4)](https://github.com/mlocati "mlocati (1 commits)")[![philsturgeon](https://avatars.githubusercontent.com/u/67381?v=4)](https://github.com/philsturgeon "philsturgeon (1 commits)")[![rdohms](https://avatars.githubusercontent.com/u/94331?v=4)](https://github.com/rdohms "rdohms (1 commits)")[![strayobject](https://avatars.githubusercontent.com/u/2257473?v=4)](https://github.com/strayobject "strayobject (1 commits)")[![bcrowe](https://avatars.githubusercontent.com/u/752603?v=4)](https://github.com/bcrowe "bcrowe (1 commits)")[![ulrichsg](https://avatars.githubusercontent.com/u/197901?v=4)](https://github.com/ulrichsg "ulrichsg (1 commits)")[![FractalizeR](https://avatars.githubusercontent.com/u/318489?v=4)](https://github.com/FractalizeR "FractalizeR (1 commits)")[![janhohner](https://avatars.githubusercontent.com/u/649895?v=4)](https://github.com/janhohner "janhohner (1 commits)")

---

Tags

urlphpparse\_url

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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)
