Download the PHP package sbuerk/checkout-path-repository without Composer
On this page you can find all versions of the php package sbuerk/checkout-path-repository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sbuerk/checkout-path-repository
More information about sbuerk/checkout-path-repository
Files in sbuerk/checkout-path-repository
Package checkout-path-repository
Short Description Composer plugin that registers local git checkouts listed in a manifest as path repositories, pins their versions and adds them as root requirements - optional checkouts that are missing are skipped.
License GPL-2.0-or-later
Homepage https://github.com/sbuerk/checkout-path-repository
Informations about the package checkout-path-repository
sbuerk/checkout-path-repository
A Composer plugin for development setups that work
on many packages at once: it installs a set of local git checkouts listed
in a manifest through path repositories
– and simply leaves out the checkouts that are not there.
- Manifest driven – one JSON file lists every package with its git
url,branchand theversionit should be installed as. - Optional checkouts – a checkout that is missing (for example a private
repository you have no access to) is skipped with a notice instead of
breaking
composer update. - Pinned versions – each checkout is installed as the manifest version,
independent of the branch that is checked out, so constraints like
~1.19.0@devbetween the checkouts resolve. - No hand-maintained requirements – present checkouts become root
requirements automatically;
composer.jsonis never rewritten. - Commands –
composer checkouts:cloneclones what is missing (without prompting, skipping inaccessible remotes),composer checkouts:statustells scripts whether acomposer updateis due (exit code3).
Quick start
packages/checkouts.json:
Root composer.json of the project that installs them:
[!IMPORTANT] Composer creates repositories before plugins are activated. The run that installs the plugin cannot register the checkouts yet – the next
composer updatedoes.composer checkouts:statusexits with3in that situation, see docs/limitations.md.
Requirements
- PHP 8.1+
- Composer 2.3+ (
composer-plugin-api: ^2.3) gitfor thecheckouts:*commands
Documentation
Details live in docs/:
- Installation
- Configuration & manifest
- Commands
- How it works (architecture)
- Limitations
- Development & testing
Contributing
Contributions are welcome – please read CONTRIBUTING.md.
License
Released under the GNU General Public License v2.0 or later.
All versions of checkout-path-repository with dependencies
composer-plugin-api Version ^2.3