PHPackages                             waaseyaa/media - 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. waaseyaa/media

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

waaseyaa/media
==============

Media entity type and file management for Waaseyaa

v0.1.0-alpha.256(1mo ago)06.5k↓86.2%3GPL-2.0-or-laterPHPPHP &gt;=8.5

Since Mar 14Pushed 1mo agoCompare

[ Source](https://github.com/waaseyaa/media)[ Packagist](https://packagist.org/packages/waaseyaa/media)[ RSS](/packages/waaseyaa-media/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependencies (44)Versions (253)Used By (3)

waaseyaa/media
==============

[](#waaseyaamedia)

**Layer 2 — Content Types**

Media entity type for Waaseyaa applications.

Defines the `media` entity type for images, documents, and other binary assets. Includes upload handling, file metadata storage, and access policy integration. Managed via the admin SPA and JSON:API endpoint.

Key classes: `Media`, `MediaAccessPolicy`, `MediaServiceProvider`.

Access scope (important)
------------------------

[](#access-scope-important)

`MediaAccessPolicy` gates the media **record** (the entity row) on the JSON:API surface — view/create/update/delete of the `media` entity. It does **not** gate the file **bytes**: uploads are written to the `public://` scheme (`storage/files`, returned as a `/files/` URL) and are served by the host's normal static path, **not** through an access-checked download route. There is currently **no `private://` scheme or authorized-download path for media** (unlike `attachment`, which got `GET /attachment/{id}/download` with deny-by-default access in #1761). So a media entity's access policy does not protect its file contents from direct URL access — do not store sensitive bytes as `public://` media expecting the entity policy to guard them.

The `MediaType.source` plugin id (`file`/`image`/`oembed`) is **metadata only** — the media source-plugin system (resolution, derivatives, gated downloads) is not implemented. Both — the source-plugin substrate and an authorized media download reusing the attachment `PrivateFileStore` — are tracked as a future feature in #1762.

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance94

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.4% 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 ~0 days

Total

252

Last Release

31d ago

PHP version history (3 changes)v0.1.0-alpha.1PHP &gt;=8.3

v0.1.0-alpha.9PHP &gt;=8.4

v0.1.0-alpha.176PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/25d0ff572e93e3461e5180a920725d65691fd1e15e2d914b254dbbc2d6c393bd?d=identicon)[jonesrussell](/maintainers/jonesrussell)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (77 commits)")[![jonesrussell](https://avatars.githubusercontent.com/u/499552?v=4)](https://github.com/jonesrussell "jonesrussell (62 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waaseyaa-media/health.svg)

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

PHPackages © 2026

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