Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 2, 2024 via composer
Package created
24 Jun 2012
Version published
20 Aug 2022
Maintainers
2
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
composer/installers@v2.2.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
ⓘ This is a list of composer/installers 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does composer/installers do?

Composer/Installers acts as a multi-framework library installer for PHP package authors who utilize it in their composer.json. Its primary function is to install the specified packages in the correct location based on the package type. Composer/Installers is a simple package type to install path map that allows users to customize the install path for each package, and package authors can modify the package name upon installation. However, it is not intended to replace all custom installers. If the package requires special installation handling, a custom installer should be created to handle it.

How do you use composer/installers?

To use Composer/Installers, you need to define it in your composer.json file. Here’s an example for a CakePHP plugin:

{
    "name": "you/ftp",
    "type": "cakephp-plugin",
    "require": {
        "composer/installers": "~1.0"
    }
}

This will install your package to the Plugin/Ftp/ folder of a CakePHP app when php composer.phar install is run.

You can configure custom install paths as follows:

{
    "extra": {
        "installer-paths": {
            "your/custom/path/{$name}/": ["shama/ftp", "vendor/package"]
        }
    }
}

If you want to set a non-standard installation path for all packages of a particular type or a particular vendor, use the type: or vendor: prefix respectively.

Where are the composer/installers docs?

The official documentation for Composer/Installers can be found in its GitHub repository. The readme file in the repository provides detailed information on how to use the package, from installing it to customizing install paths and naming conventions.