PHPackages                             frdl/cta - 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. frdl/cta

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

frdl/cta
========

Content-addressable storage for PHP.

v0.0.1(3y ago)0101MITPHPPHP &gt;=7.1 | &gt;=8.0

Since Sep 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/frdl/cta)[ Packagist](https://packagist.org/packages/frdl/cta)[ Fund](https://domainundhomepagespeicher.de)[ Fund](https://webfan.de/sponsor-me/)[ RSS](/packages/frdl-cta/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

cta
===

[](#cta)

Content-addressable storage for PHP. *work in progress!* (ALPHA version)

Idea
====

[](#idea)

Save Contents
-------------

[](#save-contents)

- Split Contents into chunks (of equal length)/save to ChunkStorage
- Concat ChunkHashes into FileStorage Entry
- Save header lines and FileStorage Entry CTA-Hash into UriStorage

Read/Serve Contents
-------------------

[](#readserve-contents)

- Serve header lines from UriStorage (if for Browser/Download)
- Look up FileStorage Entry in UriStorage
- Look up ChunkHashes in FileStorage
- Concat chunks from ChunkStorage to output contents

spec
====

[](#spec)

content-addressable - [1.3.6.1.4.1.37553.8.1.8.1.16606](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606)
=============================================================================================================================

[](#content-addressable---13614137553818116606)

- [1.3.6.1.4.1.37553.8.1.8.1.16606](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606)- CTA paradigmas where we do NOT track for hash collisions.
- [1.3.6.1.4.1.37553.8.1.8.1.16606.1.56234465](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606.1.56234465) - To reduce the possibility of collisions we store the hash along with the content-size.
- [1.3.6.1.4.1.37553.8.1.8.1.16606.1.27200801029](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606.1.27200801029) - Files/content is saved into chunks of the same size/length.

Server - frdl\\cta\\Server::class
=================================

[](#server---frdlctaserverclass)

- UriStorage where we store references: uri\[hash\]&lt;-&gt;file\[hash\]&lt;-&gt;chunks\[hashes\]
- UriStorage where we store (and may serve) headers associated to a file.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1391d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67333?v=4)[webfan](/maintainers/webfan)[@webfan](https://github.com/webfan)

---

Top Contributors

[![wehowski](https://avatars.githubusercontent.com/u/2658030?v=4)](https://github.com/wehowski "wehowski (40 commits)")

### Embed Badge

![Health badge](/badges/frdl-cta/health.svg)

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

PHPackages © 2026

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