Skip to content

Commit

Permalink
Update readme/changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Aug 4, 2021
1 parent 0c19fe4 commit 5a546a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log

## v2.0.0 - 2021-08-04
### Added
* Added installer for Pantheon Quicksilver modules/scripts [#492](https://github.com/composer/installers/pull/492).
* Added installer for Akaunting modules [#489](https://github.com/composer/installers/pull/489).

### Removed
* Removed support for TYPO3 Flow

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ Most frameworks these days natively work with Composer and will be
installed to the default `vendor` directory. `composer/installers`
is **not needed** to install packages with these frameworks.

## Alternative to custom installers with Composer 2.1+

As of Composer 2.1, the `Composer\InstalledVersions` class has a
[`getInstalledPackagesByType`](https://getcomposer.org/doc/07-runtime.md#knowing-which-packages-of-a-given-type-are-installed)
method which can let you figure out at runtime which plugins/modules/extensions are installed.

It is highly recommended to use that instead of building new custom
installers if you are building a new application. This has the advantage of leaving
all vendor code in the vendor directory, and not requiring custom installer code.

## Current Supported Package Types

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

0 comments on commit 5a546a8

Please sign in to comment.