PHPackages                             ttree/resourceshortener - 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. [API Development](/categories/api)
4. /
5. ttree/resourceshortener

ActiveNeos-package[API Development](/categories/api)

ttree/resourceshortener
=======================

URL Shortener for public resources

0.1.0(8y ago)014MITPHP

Since Jan 10Pushed 8y ago2 watchersCompare

[ Source](https://github.com/ttreeagency/ResourceShortener)[ Packagist](https://packagist.org/packages/ttree/resourceshortener)[ RSS](/packages/ttree-resourceshortener/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Resource Link Shortner
======================

[](#resource-link-shortner)

This package allow to create "short link" for package static resources.

Install
-------

[](#install)

```
composer require ttree/resourceshortener

```

Configure
---------

[](#configure)

```
Neos:
  Flow:
    http:
      chain:
        process:
          chain:
            'Ttree.ResourceShortener:Shortener':
              componentOptions:
                sites:
                  'website':
                    'manifest.webmanifest':
                      resource: 'resource://Ttree.Website/Public/Manifest.webmanifest'
                      headers:
                        'Content-Type': application/manifest+json
                        'Cache-Control': max-age=2592000
                    'sw.js':
                      resource: 'resource://Ttree.Website/Public/Scripts/ServiceWorker.js'
                      headers:
                        'Content-Type': text/javascript

```

In the configuration `website` is the root node name for the current site. With this configuration, `Manifest.webmanifest`is available at `https://domain.com/manifest.webmanifest` and `ServiceWorker.js` at `https://domain.com/manifest.webmanifest`.

You can use the `headers` section to send custom HTTP headers.

**Warning**: For performance reason it's better to configure the rewritte in your HTTP Server (Apache, Nginx, Caddy, ...). But sometimes you don't have access to those configuration so this package can be useful.

Acknowledgments
---------------

[](#acknowledgments)

Development sponsored by [ttree ltd - neos solution provider](http://ttree.ch).

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

3040d ago

### Community

Maintainers

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

---

Top Contributors

[![dfeyer](https://avatars.githubusercontent.com/u/221173?v=4)](https://github.com/dfeyer "dfeyer (1 commits)")

### Embed Badge

![Health badge](/badges/ttree-resourceshortener/health.svg)

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

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[flowpack/elasticsearch

This package provides wrapper functionality for the Elasticsearch engine.

34485.9k4](/packages/flowpack-elasticsearch)[wwwision/graphql

Base package to create GraphQL endpoints with Flow

2115.7k1](/packages/wwwision-graphql)

PHPackages © 2026

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