File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,12 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 0.2.0] - 2023-06-02
8+ ### Added
9+ - ` Uri::withPathAdded(string $path) ` has been added to allow adding path segments to an existing URI
10+
11+ ### Fixed
12+ - User Info segment is now properly urlencoded according to RFC 3986
13+
714## [ 0.1.0] - 2022-12-28
815- Initial release
Original file line number Diff line number Diff line change 11# urimanage
2- A library to parse, format and modify URIs following the [ PSR-7 URI interface] ( https://www.php-fig.org/psr/psr-7/] )
2+ A library to parse, format and modify URIs following the [ PSR-7 URI interface] ( https://www.php-fig.org/psr/psr-7/] ) ,
3+ with URL encoding according to RFC 3986.
34
45## Installation
56Install via [ composer] ( https://getcomposer.org ) :
@@ -20,3 +21,8 @@ echo $uri->isAbsolute(); // true
2021## Full API Reference
2122For a full reference of all available methods supported by PSR-7, please
2223[ see here] ( https://github.com/php-fig/http-message/blob/efd67d1dc14a7ef4fc4e518e7dee91c271d524e4/docs/PSR7-Interfaces.md#psrhttpmessageuriinterface-methods ) .
24+
25+ ### Additional methods
26+ - ` Uri::withPathAdded(string $path) : Uri ` adds a path segment to the URI
27+ - ` Uri::isAbsolute() : bool ` whether the URI is absolute (has scheme or authority) or not
28+ - ` Uri::getOriginalUri() : ?string ` returns the original URI before any modifications
You can’t perform that action at this time.
0 commit comments