piedweb/composer-symlink

One Vendor Directory for multiple PHP projects using same dependencies - Disk space efficient composer fixer.

0.1.815 2024-12-17 19:46 UTC

README

Latest Version Software License GitHub Tests Action Status Quality Score Code Coverage Type Coverage Total Downloads

Disk efficient composer (fixer || symlinker) ➜ multiple project relying on same package version, why having multiple copy ?

This is a duplicate code killer to win some disk space.

Install

Via Packagist

Create a new project and install the dependency

mkdir composer-dependencies && cd composer-dependencies

composer install piedweb/composer-symlink

Usage

Create cs.php

<?php

include 'vendor/autoload.php';

(new ComposerSymlink([
    '/path/to/my/project',
    'path/to/my/second/project',
]))->exec();

Add it in post-update script


Contributing

Please see contributing

Credits

License

The MIT License (MIT). Please see License File for more information.

Latest Version Software License Build Status Quality Score Code Coverage Total Downloads

Open Source Package