Skip to content

Conversation

@jordikroon
Copy link

Add comprehensive documentation for the new Uri extension, which implements RFC 3986 and WHATWG URL Standard specifications.

Includes:

  • Uri\Rfc3986\Uri class with RFC 3986 compliant URI parsing and manipulation
  • Uri\UriComparisonMode enum for flexible URI comparison options
  • Complete method reference for all Uri\Rfc3986\Uri getters, setters, and utility methods
  • Version information indicating availability in PHP 8.5.0+

This is a Work In Progress.

Add comprehensive documentation for the new Uri extension, which implements RFC 3986 and WHATWG URL Standard specifications.

Includes:
- Uri\Rfc3986\Uri class with RFC 3986 compliant URI parsing and manipulation
- Uri\UriComparisonMode enum for flexible URI comparison options
- Complete method reference for all Uri\Rfc3986\Uri getters, setters, and utility methods
- Version information indicating availability in PHP 8.5.0+
Add documentation for three new Uri exception/error classes:
- Uri\UriError: Base error class for URI operations
- Uri\UriException: Base exception class for URI operations
- Uri\InvalidUriException: Exception for invalid URI instances

These classes provide structured error handling for the Uri extension.
Add comprehensive documentation for the Uri\WhatWg\Url class which implements the WHATWG URL Standard. This includes documentation for:

- Constructor and static parse/resolve methods
- Getter methods for URL components (scheme, host, port, path, query, fragment, username, password)
- Host accessors supporting both ASCII and Unicode representations
- Mutator methods (with*) for creating modified URL instances
- Serialization methods (toAsciiString, toUnicodeString)
- URL comparison via equals() method
- Debug and serialization support (__debugInfo, __serialize, __unserialize)

Also remove final and readonly modifiers from Uri\Rfc3986\Uri constructor to allow proper inheritance by the WHATWG implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant