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(2w ago)0307↑147.1%5Apache-2.0PHPPHP 7.3 - 8.5

Since Feb 25Pushed 2w ago1 watchersCompare

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

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

51

—

FairBetter than 95% of packages

Maintenance97

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community16

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

16d 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.3k543.5M2.6k](/packages/aws-aws-sdk-php)[league/flysystem

File storage abstraction for PHP

13.6k679.9M2.5k](/packages/league-flysystem)[google/cloud

Google Cloud Client Library

1.2k16.7M57](/packages/google-cloud)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k285.7M1.0k](/packages/league-flysystem-aws-s3-v3)[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k41.5M133](/packages/knplabs-gaufrette)[knplabs/knp-gaufrette-bundle

Allows to easily use the Gaufrette library in a Symfony project

72430.0M104](/packages/knplabs-knp-gaufrette-bundle)

PHPackages © 2026

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