Download the PHP package aura/uri without Composer

On this page you can find all versions of the php package aura/uri. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

All versions of uri with dependencies

Informations about the package uri

Aura.Uri

Build Status

The Auri.Uri package provides objects to help you create and manipulate URLs, including query strings and path elements. It does so by splitting up the pieces of the URL and allowing you modify them individually; you can then fetch them as a single URL string. This helps when building complex links, such as in a paged navigation system.

This package is compliant with PSR-0, PSR-1, and PSR-2. If you notice compliance oversights, please send a patch via pull request.

Getting Started

Instantiation

The easiest way to instantiate a URL object is to use the factory instance script, like so:

Alternatively, you can add the src/ directory to your autoloader and instantiate a URL factory object:

When using the factory, you can populate the URL properties from a URL string:

Alternatively, you can use the factory to create a URL representing the current web request URI:

Manipulation

After we have created the URL object, we can modify the component parts, then fetch a new URL string from the modified object.

Public Suffix List Host Parsing

Host Component Parts

In addition to URL creation and manipulation, Aura.Uri is capable of parsing a host into its component parts, namely the host's subdomain, registerable domain, and public suffix. A host's component parts are available via properties on the Aura.Uri host object, as seen in the examples above.

Public Suffix List

This parsing capability is possible as a result of the Public Suffix List, a community resource and initiative of Mozilla.

Updating the Public Suffix List

As the Public Suffix List is both an external resource and a living document, it's important that you update your copy of the list from time to time. You can do this by executing the provided update.php script.

php /path/to/Aura.Uri/scripts/update.php

Executing update.php will retrieve the most current version of the Public Suffix List, parse it to an array, and store it in the /path/to/Aura.Uri/data directory.



Version
Requires php Version >=5.4.0
aura/installer-default Version 1.0.*

The package aura/uri contains the following files

Loading the files please wait ....