{"id":13803740,"url":"https://github.com/SanderSander/composer-link","last_synced_at":"2025-05-13T16:32:29.443Z","repository":{"id":40476193,"uuid":"469111656","full_name":"SanderSander/composer-link","owner":"SanderSander","description":"Adds ability to link / symlink local packages for development with composer","archived":false,"fork":false,"pushed_at":"2025-04-21T21:43:34.000Z","size":192,"stargazers_count":70,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-21T22:21:03.438Z","etag":null,"topics":["composer","composer-plugin","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/sandersander/composer-link","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SanderSander.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/Dockerfile","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-12T14:50:06.000Z","updated_at":"2025-04-21T21:32:11.000Z","dependencies_parsed_at":"2023-12-18T10:26:13.038Z","dependency_job_id":"dad732f0-f34b-4fd9-bd02-4b8d98b5f7da","html_url":"https://github.com/SanderSander/composer-link","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"a362d95ea74e565a119ab5209641e3d422ff4c75"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSander%2Fcomposer-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSander%2Fcomposer-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSander%2Fcomposer-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanderSander%2Fcomposer-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SanderSander","download_url":"https://codeload.github.com/SanderSander/composer-link/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253981931,"owners_count":21994361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","composer-plugin","php"],"created_at":"2024-08-04T01:00:37.446Z","updated_at":"2025-05-13T16:32:24.431Z","avatar_url":"https://github.com/SanderSander.png","language":"PHP","readme":"# composer-link\n![phpunit](https://github.com/SanderSander/composer-link/actions/workflows/unit-tests.yml/badge.svg?branch=master)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/3815e6abf2ec0e1d4ac8/test_coverage)](https://codeclimate.com/github/SanderSander/composer-link/test_coverage)\n[![Maintainability](https://api.codeclimate.com/v1/badges/3815e6abf2ec0e1d4ac8/maintainability)](https://codeclimate.com/github/SanderSander/composer-link/maintainability)\n\nAdds ability to link local packages in composer for development. \n\nThis plugin won't alter your `composer.json` or `composer.lock` file, \nwhile maintaining the composer abilities to manage/upgrade your packages.\n\n## Requirements\n\n- PHP \u003e= 8.0\n- Composer \u003e= 2.2\n\n## Installation\n\nThis plugin can be installed globally or per project\n\nGlobally \n```\ncomposer global require sandersander/composer-link\n```\n\nPer project: \n```\ncomposer require --dev sandersander/composer-link\n```\n\n## Usage\n\nThe following three commands are made available by this plugin `link`, `unlink` and `linked`.\nWhen the plugin is installed globally you can prefix the commands with `global` as example `composer global linked` \nand install global packages.\n\nTo link a package you can use the `link` commands, you can also link a global package.\nWhen linked to a global package absolute paths are used, when using a relative path composer-link resolves\nit to the absolute path.\n\n```\ncomposer link ../path/to/package\ncomposer global link ../path/to/package\n```\n\nIt's also possible to use a wildcard in your path, note that this will install all packages found in the directory `../packages`\nIf you don't want to link all the packages but only the ones originally installed you can pass the `--only-installed` flag.\n\n```\ncomposer link ../packages/*\ncomposer link ../packages/* --only-installed\n```\n\nTo unlink the package you can use the `unlink` command\n```\ncomposer unlink ../path/to/package\ncomposer unlink ../packages/*\ncomposer global unlink ../path/to/package\n```\n\nTo see all linked packages in your project you can use the `linked` command\n```\ncomposer linked\ncomposer global linked\n```\n","funding_links":[],"categories":["Plugins"],"sub_categories":["Support"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSanderSander%2Fcomposer-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSanderSander%2Fcomposer-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSanderSander%2Fcomposer-link/lists"}