An implementation of the PHP URI extension for older PHP versions

Maintainers

Package info

codeberg.org/mensbeam/uri-polyfill

Issues

pkg:composer/mensbeam/uri

Transparency log

Statistics

Installs: 1

Dependents: 1

Suggesters: 0

1.0.0 2026-07-07 12:00 UTC

This package is auto-updated.

Last update: 2026-07-07 17:00:40 UTC


README

A polyfill for the PHP URI extension introduced in PHP 8.5. All features as of PHP 8.5.8 are replicated.

Features

  • Compatibility back to PHP 7.1
  • Passes all urltestdata.json Web Platform tests
  • Passes most PHP tests (see Differences below)
  • Requires no PHP extensions

Differences

Availability

The polyfill is available on Packagist as mensbeam/uri, with source code available on my personal repository and mirrored on Codeberg.