Package

Composer Installers

A multi-framework Composer library installer

Package

composer/installers

View on GitHub →

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 →

Composer Installers Related Articles

Cooldown Dependency Policy now in Composer 2.11 image

Cooldown Dependency Policy now in Composer 2.11

Read article
Building Package Installers image

Building Package Installers

Read article
Building maintainable PHP apps using Composer image

Building maintainable PHP apps using Composer

Read article
Composer Package Executor (CPX) - bring NPX to Composer image

Composer Package Executor (CPX) - bring NPX to Composer

Read article
How to Fix the Composer Error: "Your requirements could not be resolved to an installable set of packages" image

How to Fix the Composer Error: "Your requirements could not be resolved to an installable set of packages"

Read article
Malware Blocking and Dependency Policies in Composer 2.10 image

Malware Blocking and Dependency Policies in Composer 2.10

Read article

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Pushsilver

Pushsilver is simple invoicing for freelancers and small studios — send polished invoices, automate reminders, and get paid on time without the bloat.

Pushsilver

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift