PHPackages                             letudiant/composer-shared-package-plugin - 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. letudiant/composer-shared-package-plugin

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

letudiant/composer-shared-package-plugin
========================================

This composer plugin allows you to share selected packages between your projects with symlinks.

4.0.1(8y ago)16450.9k↓33.3%9[5 issues](https://github.com/Letudiant/composer-shared-package-plugin/issues)[1 PRs](https://github.com/Letudiant/composer-shared-package-plugin/pulls)1MITPHPPHP &gt;=5.3.2

Since Apr 9Pushed 8y ago12 watchersCompare

[ Source](https://github.com/Letudiant/composer-shared-package-plugin)[ Packagist](https://packagist.org/packages/letudiant/composer-shared-package-plugin)[ RSS](/packages/letudiant-composer-shared-package-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (12)Used By (1)

Composer - Shared Package Plugin
================================

[](#composer---shared-package-plugin)

[![Code Climate](https://camo.githubusercontent.com/63b485681eb1914592cea4450d6035e8d7ee726f6271115e052c7c5ecdede371/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4c6574756469616e742f636f6d706f7365722d7368617265642d7061636b6167652d706c7567696e2f6261646765732f6770612e737667)](https://codeclimate.com/github/Letudiant/composer-shared-package-plugin)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/47c0ad20e4253da71cdfaef5be68b1b922e6531c219fdac70f8bce26348b292e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c6574756469616e742f636f6d706f7365722d7368617265642d7061636b6167652d706c7567696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Letudiant/composer-shared-package-plugin/?branch=master)[![Build Status](https://camo.githubusercontent.com/945e8b9842f970e415a15cfd9ba2843694995939d43585526bae0891fe973eb4/68747470733a2f2f7472617669732d63692e6f72672f4c6574756469616e742f636f6d706f7365722d7368617265642d7061636b6167652d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Letudiant/composer-shared-package-plugin)[![Test Coverage](https://camo.githubusercontent.com/ee830981762079ef46d51b0f772d111651dd42e1b265b81afb7b8df713cf33e0/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4c6574756469616e742f636f6d706f7365722d7368617265642d7061636b6167652d706c7567696e2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Letudiant/composer-shared-package-plugin)

This composer plugin allows you to share **your selected packages between your projects by creating symlinks**.
All shared packages will be in the same dedicated directory for all of your projects (ordered by versions) and a symlink directory container will be created on your projects (`vendor-shared` by default).

**This plugin will improve your work process** to avoid to work into the `vendor` folder or to avoid to force you to push your package to work/test it with another project.

- [How it works](#how-it-works)
- [Installation](#installation)
- [Structure generation example](#structure-generation-example)
- [How to use (known issues)](#how-to-use-known-issues)
- [Update only your own packages](./docs/how-to-use/update-only-your-own-packages.md)
- [Disable this plugin in development environment (for CI purpose, for example)](./docs/how-to-use/disable-this-plugin-in-development-environment.md)
- [Work with Satis : increase the Composer speed](./docs/how-to-use/work-with-satis.md)
- [All available configurations](#all-available-configurations)
- [Reporting an issue or a feature request](#reporting-an-issue-or-a-feature-request)
- [ChangeLog](#changelog)
- [Credit](#credit)
- [License](#license)

How it works
------------

[](#how-it-works)

A shared package is flagged by two ways :

- By setting the root project `composer.json` extra configuration `package-list` with the selected package name *(works only with the `>= 2.x` version)*.
- By setting the `composer.json` package `type` to `shared-package` *(the `
