Skip to content

[READ-ONLY] One Vendor Directory for multiple PHP projects using same dependencies.

Notifications You must be signed in to change notification settings

PiedWeb/composer-symlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Composer Symlink

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

About

[READ-ONLY] One Vendor Directory for multiple PHP projects using same dependencies.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages