Download the PHP
package haukurh/uri without Composer
On this page you can find all versions of the php package
haukurh/uri. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor haukurh Package uri Short Description PHP library to parse URI into it's components, based on RFC 3986 License
MIT
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.
PHP library to parse URI into it's components, based on RFC 3986
Description
The main idea of this library is to parse a URI into it's components. It does not validate the URI in any shape or form
only parse the URI, given some basic rules based on RFC 3986.
For now it acts very much like parse_url() but does not change invalid characters in the URL, like some utf8 characters
that may be a part of the path and/or query.
Some validation and more functionality may be implemented in the future.
Basic usage
Some basic getters have been made available to retrieve the desired component.
The components are also available as public properties to read or write, but using the getters is encouraged because
some business logic maybe applied to the selected URI component, like scheme to lowercase.
Like previously mentioned the URI components are public properties, which can be used to manipulate the URI.
For example when working with relative urls found in websites, i.e. http and https schemes or some other schemes that
"allow" some loose interpretations of URI's.
Run tests
Some test have been created to ensure parsing of components are correct.
Run tests with phpunit
ToDo
Break down authority to it's subcomponents.
Add some functionality based around URL based schemes like http, https
Implement better tests with focus on some edge cases.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package haukurh/uri contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.