Skip to content

Commit 5a546a8

Browse files
committed
Update readme/changelog
1 parent 0c19fe4 commit 5a546a8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22

33
## v2.0.0 - 2021-08-04
4+
### Added
5+
* Added installer for Pantheon Quicksilver modules/scripts [#492](https://github.com/composer/installers/pull/492).
6+
* Added installer for Akaunting modules [#489](https://github.com/composer/installers/pull/489).
7+
48
### Removed
59
* Removed support for TYPO3 Flow
610

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ Most frameworks these days natively work with Composer and will be
2020
installed to the default `vendor` directory. `composer/installers`
2121
is **not needed** to install packages with these frameworks.
2222

23+
## Alternative to custom installers with Composer 2.1+
24+
25+
As of Composer 2.1, the `Composer\InstalledVersions` class has a
26+
[`getInstalledPackagesByType`](https://getcomposer.org/doc/07-runtime.md#knowing-which-packages-of-a-given-type-are-installed)
27+
method which can let you figure out at runtime which plugins/modules/extensions are installed.
28+
29+
It is highly recommended to use that instead of building new custom
30+
installers if you are building a new application. This has the advantage of leaving
31+
all vendor code in the vendor directory, and not requiring custom installer code.
32+
2333
## Current Supported Package Types
2434

2535
> Stable types are marked as **bold**, this means that installation paths

0 commit comments

Comments
 (0)