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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kporras07/composer-symlinks

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

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

Composer script handling symlinks

v1.4(4mo ago)7641.6k↓19.4%8[1 issues](https://github.com/kporras07/composer-symlinks/issues)[3 PRs](https://github.com/kporras07/composer-symlinks/pulls)8MITPHP

Since Nov 22Pushed 4mo 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 2w ago

READMEChangelog (5)Dependencies (8)Versions (8)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

55

—

FairBetter than 97% of packages

Maintenance75

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 58.1% 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 ~585 days

Total

5

Last Release

121d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2217820?v=4)[Kevin Porras](/maintainers/kporras07)[@kporras07](https://github.com/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)")[![acouch](https://avatars.githubusercontent.com/u/512243?v=4)](https://github.com/acouch "acouch (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![jhedstrom](https://avatars.githubusercontent.com/u/76833?v=4)](https://github.com/jhedstrom "jhedstrom (2 commits)")[![generalludd](https://avatars.githubusercontent.com/u/571478?v=4)](https://github.com/generalludd "generalludd (1 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[symfony/config

Helps you find, load, combine, autofill and validate configuration values of any kind

4.3k488.4M9.3k](/packages/symfony-config)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k257.0M28.1k](/packages/friendsofphp-php-cs-fixer)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M430](/packages/easycorp-easyadmin-bundle)[symfony/asset-mapper

Maps directories of assets &amp; makes them available in a public directory with versioned filenames.

1669.5M286](/packages/symfony-asset-mapper)[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.6k79.3k91](/packages/pocketmine-pocketmine-mp)

PHPackages © 2026

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