PHPackages                             alcamo/uri - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. alcamo/uri

ActiveLibrary[File &amp; Storage](/categories/file-storage)

alcamo/uri
==========

PSR7 URI library with particular support for file: URIs

0.2.5(2mo ago)0322↑114.3%5Apache-2.0PHPPHP 7.3 - 8.5

Since Feb 25Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/rv1971/alcamo-uri)[ Packagist](https://packagist.org/packages/alcamo/uri)[ RSS](/packages/alcamo-uri/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (8)Versions (13)Used By (5)

Supplied classes
================

[](#supplied-classes)

Class `Uri`
-----------

[](#class-uri)

Currently identical to the GuzzleHttp implementation. This might change in the future.

Class `UriNormalizer`
---------------------

[](#class-urinormalizer)

Built on top of GuzzleHttp's `UriNormalizer` with the additional possibility to apply `realpath()` on local `file:` URIs.

This makes it easy to check whether two `file:` URIs refer to the same physical local file.

Class `FileUriFactory`
----------------------

[](#class-fileurifactory)

Helper class that converts back and forth between `file:` URIs and local file paths.

Class `FsPath2FileUrlIterator`
------------------------------

[](#class-fspath2fileurliterator)

Creates an iterator for `file:` URIs from an iterator of local paths.

Class `UriFromServerEnvFactory`
-------------------------------

[](#class-urifromserverenvfactory)

Creates an URI from `$_SERVER`.

Class `UriFromCurieFactory`
---------------------------

[](#class-urifromcuriefactory)

Provides various methods to create URIs from CURIEs.

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~143 days

Recently: every ~59 days

Total

12

Last Release

61d ago

PHP version history (2 changes)0.1PHP 7.3 - 8.0

0.2.5PHP 7.3 - 8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/db9722b60c5a69929f1d1c7df3d0d8682d74ed19146a2cdd2dfffa7ddc4abc78?d=identicon)[rv1971](/maintainers/rv1971)

---

Top Contributors

[![rv1971](https://avatars.githubusercontent.com/u/39520256?v=4)](https://github.com/rv1971 "rv1971 (17 commits)")

---

Tags

uripsr7file

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/alcamo-uri/health.svg)

```
[![Health](https://phpackages.com/badges/alcamo-uri/health.svg)](https://phpackages.com/packages/alcamo-uri)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[guzzlehttp/guzzle

Guzzle is a PHP HTTP client library

23.5k1.1B37.7k](/packages/guzzlehttp-guzzle)[google/cloud

Google Cloud Client Library

1.2k16.9M57](/packages/google-cloud)[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

43.6k344.8k1](/packages/ccxt-ccxt)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.8M179](/packages/algolia-algoliasearch-client-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
