PHPackages                             vanio/symlink-handler - 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. vanio/symlink-handler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vanio/symlink-handler
=====================

Composer script handling symlinks

1421PHP

Since Oct 29Pushed 9y ago2 watchersCompare

[ Source](https://github.com/vaniocz/symlink-handler)[ Packagist](https://packagist.org/packages/vanio/symlink-handler)[ RSS](/packages/vanio-symlink-handler/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Symlink Handler
===============

[](#symlink-handler)

[![Build Status](https://camo.githubusercontent.com/73af724832877c511967debef0315d1402eb796c1f6e1f4f5bb3a7a93cb33654/68747470733a2f2f7472617669732d63692e6f72672f76616e696f637a2f73796d6c696e6b2d68616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/vaniocz/symlink-handler)[![Coverage Status](https://camo.githubusercontent.com/d3882ee539616eaae24d22e145650d69d76b5a61e072f6049a12cd8948f45efd/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f76616e696f637a2f73796d6c696e6b2d68616e646c65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/vaniocz/symlink-handler?branch=master)[![PHP7](https://camo.githubusercontent.com/1707d1cf35d1b3dba207caa68b99d5e4af7689d1c4bf5ad784bf4b1ec532f507/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372d3642374542392e737667)](https://camo.githubusercontent.com/1707d1cf35d1b3dba207caa68b99d5e4af7689d1c4bf5ad784bf4b1ec532f507/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372d3642374542392e737667)[![License](https://camo.githubusercontent.com/c1cd290d4a7f82d2321b79009056b616f4c6dcc7cc7c56eb38fa6090637dfd98/68747470733a2f2f706f7365722e707567782e6f72672f76616e696f2f73796d6c696e6b2d68616e646c65722f6c6963656e7365)](https://github.com/vaniocz/symlink-handler/blob/master/LICENSE)

Composer script handling creation of symlinks from your selected installed dependencies to location of your choice.

Installation
============

[](#installation)

Installation can be done as usually using composer. `composer require vanio/symlink-handler`

Usage
=====

[](#usage)

Add the following in your root `composer.json` file:

```
"require": {
    "vanio/symlink-handler": "dev-master",
    "components/jquery": "2.2.1"
},
"scripts": {
    "post-install-cmd": [
        "Vanio\\SymlinkHandler\\ScriptHandler::createSymlinks"
    ],
    "post-update-cmd": [
        "Vanio\\SymlinkHandler\\ScriptHandler::createSymlinks"
    ]
},
"extra": {
    "symlinks": {
        "components": "web/vendor/components"
    }
}
```

After running either `composer install` or `composer update`, jquery will be accessible from your web folder `web/vendor/components/jquery/jquery.min.js`.

But of course, you have to be careful when making symlinks to a folder which is publicly accessible.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/83fd24874418acb2e635bc408732703403e16fea6c003224f1e066f07e239bcb?d=identicon)[stanleyk](/maintainers/stanleyk)

---

Top Contributors

[![maryo](https://avatars.githubusercontent.com/u/900769?v=4)](https://github.com/maryo "maryo (16 commits)")

### Embed Badge

![Health badge](/badges/vanio-symlink-handler/health.svg)

```
[![Health](https://phpackages.com/badges/vanio-symlink-handler/health.svg)](https://phpackages.com/packages/vanio-symlink-handler)
```

PHPackages © 2026

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