Skip to content

Commit 69746f6

Browse files
authored
docs: add binary dependencies (composer#11505)
1 parent d05f479 commit 69746f6

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,24 @@ PHP versions 5.3.2 - 8.1 are still supported via the LTS releases of Composer (2
5050
run the installer or the `self-update` command the appropriate Composer version for your PHP
5151
should be automatically selected.
5252

53+
#### Binary dependencies
54+
55+
- `7z` (or `7zz`)
56+
- `unzip` (if `7z` is missing)
57+
- `gzip`
58+
- `tar`
59+
- `unrar`
60+
- `xz`
61+
- Git (`git`)
62+
- Mercurial (`hg`)
63+
- Fossil (`fossil`)
64+
- Perforce (`p4`)
65+
- Subversion (`svn`)
66+
67+
It's important to note that the need for these binary dependencies may vary
68+
depending on individual use cases. However, for most users, only 2 dependencies
69+
are essential for Composer: `7z` (or `7zz` or `unzip`), and `git`.
70+
5371
Authors
5472
-------
5573

doc/00-intro.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,14 @@ a legacy PHP version. A few sensitive php settings and compile flags are also
3939
required, but when using the installer you will be warned about any
4040
incompatibilities.
4141

42-
To install packages from sources instead of plain zip archives, you will need
43-
git, svn, fossil or hg depending on how the package is version-controlled.
42+
Composer needs several supporting applications to work effectively, making the
43+
process of handling package dependencies more efficient. For decompressing
44+
files, Composer relies on tools like `7z` (or `7zz`), `gzip`, `tar`, `unrar`,
45+
`unzip` and `xz`. As for version control systems, Composer integrates seamlessly
46+
with Fossil, Git, Mercurial, Perforce and Subversion, thereby ensuring the
47+
application's smooth operation and management of library repositories. Before
48+
using Composer, ensure that these dependencies are correctly installed on your
49+
system.
4450

4551
Composer is multi-platform and we strive to make it run equally well on Windows,
4652
Linux and macOS.

0 commit comments

Comments
 (0)