PHPackages                             onedrop/shortresourceuri - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. onedrop/shortresourceuri

ActiveNeos-package[Utility &amp; Helpers](/categories/utility)

onedrop/shortresourceuri
========================

Neos package for shortening published resource uris

1.1.0(2y ago)39943MITPHP

Since Sep 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/1drop/Onedrop.ShortResourceUri)[ Packagist](https://packagist.org/packages/onedrop/shortresourceuri)[ RSS](/packages/onedrop-shortresourceuri/feed)WikiDiscussions master Synced 2w ago

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

Onedrop.ShortResourceUri
========================

[](#onedropshortresourceuri)

This Neos package changes the default behavior of the persistent resource storage.

It will publish resources with a short uri like `/_media/alicecards.jpg` instead of the regular `/_Resources/Persistent/0d5f77e755f664b393b62ca51a056c06f05e83c6/alicecards.jpg`.

It overrides the default publishing target for the `persistent` collection if you add the following configuration:

```
Neos:
  Flow:
    resource:
      targets:
        localWebDirectoryShortUriPersistentResourcesTarget:
          target: 'Onedrop\ShortResourceUri\ResourceManagement\Target\FileSystemShortSymlinkTarget'
          targetOptions:
            baseUri: '_media/'
            path: '%FLOW_PATH_WEB%_media/'
      collections:
        persistent:
          target: 'localWebDirectoryShortUriPersistentResourcesTarget'
```

Since v1.2.0 this must be added manually and is no longer default included. This way it is possible to for example only enable this in production context.

Preventing duplicates
---------------------

[](#preventing-duplicates)

As we don't have a unique part in the published filename target, we must prevent this to happen. Therefore a `DuplicateFilenameException` will be thrown if you try to add a duplicate filename.

This could be improved in the future.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

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 ~876 days

Total

3

Last Release

1083d ago

### Community

Maintainers

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

---

Top Contributors

[![hphoeksma](https://avatars.githubusercontent.com/u/250683?v=4)](https://github.com/hphoeksma "hphoeksma (3 commits)")

---

Tags

neos-pluginneoscms

### Embed Badge

![Health badge](/badges/onedrop-shortresourceuri/health.svg)

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

###  Alternatives

[sitegeist/kaleidoscope

Responsive-images for Neos

29364.3k11](/packages/sitegeist-kaleidoscope)[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2541.8k](/packages/kaufmanndigital-gdpr-cookieconsent)[neos/seo

SEO configuration and tools for Neos

131.0M28](/packages/neos-seo)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21175.8k](/packages/techdivision-ckstyles)[sitegeist/taxonomy

Manage vocabularies and taxonomies as separate node-hierarchy.

1593.1k1](/packages/sitegeist-taxonomy)[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

14101.5k6](/packages/shel-neos-colorpicker)

PHPackages © 2026

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