league/uri

URI manipulation library

Installs: 1 563 247

Dependents: 78

Suggesters: 5

Stars: 366

Watchers: 13

Forks: 33

Open Issues: 2

Type:metapackage

5.3.0 2018-03-14 17:19 UTC

README

Build Status Software License Latest Version Total Downloads

The Uri package provides simple and intuitive classes to create and manage URIs in PHP.

Highlights

  • Simple API
  • RFC3986 and RFC3987 compliant
  • Implements the UriInterface from PSR-7
  • Fully documented
  • Framework Agnostic
  • Composer ready, PSR-2 and PSR-4 compliant

Documentation

Full documentation can be found at uri.thephpleague.com.

System Requirements

You need:

  • PHP >= 7.0.13 but the latest stable version of PHP is recommended
  • the mbstring extension
  • the intl extension

To use the library.

Install

We no longer recommend installing this package directly.

The package is a metapackage that aggregates all components related to processing and manipulating URI in PHP; in most cases, you will want a subset, and these may be installed separately.

The following components are part of the metapackage:

The primary use case for installing the entire suite is when upgrading from a version 4 release.

If you decide you still want to install the entire suite use Composer and run the following command on a composer installed box:

$ composer require league/uri

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email nyamsprod@gmail.com instead of using the issue tracker.

Credits

License

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