PHPackages                             phplrt/source-contracts - 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. phplrt/source-contracts

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

phplrt/source-contracts
=======================

A set of phplrt source abstractions

3.7.5(1y ago)0181.0k—2.9%8MITPHPPHP ^8.1CI failing

Since Sep 18Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/phplrt/source-contracts)[ Packagist](https://packagist.org/packages/phplrt/source-contracts)[ Docs](https://github.com/phplrt)[ RSS](/packages/phplrt-source-contracts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (58)Used By (8)

 [![Phplrt](https://avatars2.githubusercontent.com/u/49816277?s=128)](https://phplrt.org)

Source Contracts
----------------

[](#source-contracts)

A set of interfaces for abstraction over sources.

### Resources

[](#resources)

- [Documentation](https://github.com/phplrt/phplrt/blob/master/README.md)
- [Repository](https://github.com/phplrt/phplrt)
    - [Issues](https://github.com/phplrt/phplrt/issues)
    - [Pull Requests](https://github.com/phplrt/phplrt/pulls)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance62

Regular maintenance activity

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 87.5% 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 ~32 days

Recently: every ~0 days

Total

57

Last Release

615d ago

Major Versions

2.3.6 → 3.0.02020-03-05

PHP version history (4 changes)2.1.0PHP &gt;=7.1.3

3.0.0PHP &gt;=7.4

3.1.8PHP ^7.4|^8.0

3.5.2PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (56 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (8 commits)")

---

Tags

compatibilitycontractsinterfacesphplrtfileioreadsourcedisk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phplrt-source-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/phplrt-source-contracts/health.svg)](https://phpackages.com/packages/phplrt-source-contracts)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[league/flysystem-local

Local filesystem adapter for Flysystem.

225231.8M39](/packages/league-flysystem-local)[adlawson/vfs

Virtual file system

300433.0k21](/packages/adlawson-vfs)[amphp/file

Non-blocking access to the filesystem based on Amp and Revolt.

1103.3M94](/packages/amphp-file)

PHPackages © 2026

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