Releases: JustSteveKing/uri-builder
PHP 8.1 Only
3.0.0 Moving to php 8.1
Version 2 release
This release drops support for any PHP version under 8.0 and swaps the testing framework to pestPHP.
PHP 8 Support
v1.1.0 fixing workflow
Fix urlencode issue and add port
Previously urlencode would encode the full url, where as the ideal functionality is to URL encode just the query parameters. This has now been fixed.
I have also added the ability to add a port and parse the port from a URL string, so that local development is easier - and those services that require a port can be used nicely.
Adding option to URL encode from string
Adding an optional boolean paramter to toString()
which will return the URL encoded version of the URI instead of the string value, thanks to Ryan Chandler for the idea on this
Fixing building a Uri from String
There was an issue building a Uri from a string, where you had to have both a path and a query to successfully build
Set minimum PHP version
v1.0.3 Update badge
Bug Fixes
This release contains a few big fixes and static analysis fixes. All static analysis errors regarding parse_url have ben accounted for and recommended alternative functinos have been ignored for now unless errors arise.
Bug Fix
Fixed a bug where if you do not call addQuery()
and try to call addQueryParameter()
the attribute hasn't been initialised yet.
Fragments and Query Parameters
This release contains the ability to create fragments and programatically add query parameters, as well as an optional flag to convert boolean parameters to strings.