Package
Composer Installers
A multi-framework Composer library installer
Overview
What Composer Installers does
Composer Installers provides a versatile installer for PHP packages, allowing them to be placed in specific directories beyond the conventional vendor folder based on their type.
The package is targeted at PHP package authors who want to finely control the installation directories of their packages. By specifying the desired package type in the composer.json file, packages are installed at locations matching their specified type, which proves essential for systems that follow a modular structure.
Composer Installers stands out by supporting a wide array of frameworks. It provides the ability to define custom install paths for each package or for all packages of a specific type, granting developers the flexibility to maintain their project's structural integrity. This is particularly useful for package authors who need their package to adhere to strict naming and directory conventions.
While it fits seamlessly with Composer-managed projects, it's most useful for those frameworks not natively compatible with Composer's default installer. With support for platforms ranging from WordPress and Drupal to CakePHP and Magento, developers working across multiple ecosystems find this flexibility beneficial.
For those requiring even more customization, authors can modify package names upon installation and disable specific installers to prevent conflicts with existing custom installers. This customization ensures that even projects with complex dependencies can maintain organized and predictable directory structures.
This overview was generated by AI from the package README and may not reflect the latest release.
Read the full README →