PHPackages                             kporras07/composer-symlinks - 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. kporras07/composer-symlinks

ActiveLibrary

kporras07/composer-symlinks
===========================

Composer script handling symlinks

v1.3(1y ago)7617.3k—1.4%7[3 PRs](https://github.com/kporras07/composer-symlinks/pulls)8MITPHP

Since Nov 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/kporras07/composer-symlinks)[ Packagist](https://packagist.org/packages/kporras07/composer-symlinks)[ Docs](https://github.com/kporras07/composer-symlinks)[ RSS](/packages/kporras07-composer-symlinks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (7)Used By (8)

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

[](#symlink-handler)

[![Build Status](https://camo.githubusercontent.com/ee8ce72df803cb4e3cf927730d58d8b8f4f0832d190d11b2b822dc569b6db36e/68747470733a2f2f7472617669732d63692e6f72672f6b706f7272617330372f636f6d706f7365722d73796d6c696e6b732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kporras07/composer-symlinks)

Composer script handling creation of symlinks inside your composer project.

*Note:* Symlinks will become files copy when composer is run with `--no-dev`

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

[](#installation)

Installation can be done as usually using composer. `composer require kporras07/composer-symlinks`

Usage
=====

[](#usage)

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

```
"require": {
    "kporras07/composer-symlinks": "dev-master"
},
"scripts": {
    "post-install-cmd": [
        "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks"
    ],
    "post-update-cmd": [
        "Kporras07\\ComposerSymlinks\\ScriptHandler::createSymlinks"
    ]
},
"extra": {
    "symlinks": {
        "components": "web/components"
    }
}
```

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

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

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 59.5% 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 ~594 days

Total

4

Last Release

587d ago

### Community

Maintainers

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

---

Top Contributors

[![kporras07](https://avatars.githubusercontent.com/u/2217820?v=4)](https://github.com/kporras07 "kporras07 (25 commits)")[![BrianHenryIE](https://avatars.githubusercontent.com/u/4720401?v=4)](https://github.com/BrianHenryIE "BrianHenryIE (6 commits)")[![danielnv18](https://avatars.githubusercontent.com/u/3136353?v=4)](https://github.com/danielnv18 "danielnv18 (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![acouch](https://avatars.githubusercontent.com/u/512243?v=4)](https://github.com/acouch "acouch (2 commits)")[![jhedstrom](https://avatars.githubusercontent.com/u/76833?v=4)](https://github.com/jhedstrom "jhedstrom (2 commits)")[![Gounlaf](https://avatars.githubusercontent.com/u/236413?v=4)](https://github.com/Gounlaf "Gounlaf (1 commits)")

---

Tags

composerscriptsymlink

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kporras07-composer-symlinks/health.svg)

```
[![Health](https://phpackages.com/badges/kporras07-composer-symlinks/health.svg)](https://phpackages.com/packages/kporras07-composer-symlinks)
```

###  Alternatives

[franzl/studio

Develop your Composer libraries with style

1.1k634.5k15](/packages/franzl-studio)

PHPackages © 2026

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