Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
/ url Public archive

A simple PHP library to parse and manipulate URLs

License

Notifications You must be signed in to change notification settings

thephpleague/url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

45f5529 · Sep 24, 2015
Jul 15, 2015
Jul 14, 2015
Jun 24, 2015
Nov 28, 2013
Jul 1, 2015
Jul 15, 2015
Jul 15, 2015
Mar 23, 2014
Jun 20, 2014
Sep 24, 2015
Jul 1, 2015
Nov 8, 2014

Repository files navigation

Url version 3

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

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

Build Status Coverage Status Quality Score Software License Latest Version Total Downloads

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

This package is compliant with PSR-2, and PSR-4.

Requirements

You need PHP >= 5.3.0 and the mbstring extension to use the library, but the latest stable version of PHP is recommended.

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

You can also use League\Url without using Composer by downloading the library and using a PSR-4 compatible autoloader.

Documentation

League\Url is fully documented. Contribute to this documentation in the gh-pages branch.

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

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