Download the PHP package nyholm/append-query-string without Composer
On this page you can find all versions of the php package nyholm/append-query-string. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nyholm/append-query-string
More information about nyholm/append-query-string
Files in nyholm/append-query-string
Download nyholm/append-query-string
More information about nyholm/append-query-string
Files in nyholm/append-query-string
Vendor nyholm
Package append-query-string
Short Description A simple function that lets you add a query string to an existing URL
License MIT
Package append-query-string
Short Description A simple function that lets you add a query string to an existing URL
License MIT
Please rate this library. Is it a good library?
Informations about the package append-query-string
PHP function to append query string to URL.
If you have a unknown URL and want to add a query string to it, this package is what you are looking for.
Install
Usage
Yes, this is pretty much as writing:
But it will support if URL has query string or not. It will also if a URL hash fragment is used.
Modes
There are three different modes you can use with append_query_string
.
APPEND_QUERY_STRING_IGNORE_DUPLICATE
(default)APPEND_QUERY_STRING_REPLACE_DUPLICATE
APPEND_QUERY_STRING_SKIP_DUPLICATE
They are easiest explained with examples.
APPEND_QUERY_STRING_IGNORE_DUPLICATE
APPEND_QUERY_STRING_REPLACE_DUPLICATE
APPEND_QUERY_STRING_SKIP_DUPLICATE
All versions of append-query-string with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2 || ^8.0
The package nyholm/append-query-string contains the following files
Loading the files please wait ....