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

The Ultimate Performance Checklist For Laravel Apps image

The Ultimate Performance Checklist For Laravel Apps

Read article
Composer 2.0 is now released with performance improvements image

Composer 2.0 is now released with performance improvements

Read article
Developing Laravel Packages with Local Composer Dependencies image

Developing Laravel Packages with Local Composer Dependencies

Read article
Composer v1.6.4 is Released With a Security Fix image

Composer v1.6.4 is Released With a Security Fix

Read article
Insights into Laravel package design image

Insights into Laravel package design

Read article
Laravel Package Auto-Discovery image

Laravel Package Auto-Discovery

Read article
Acquaint Softtech logo

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
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Pushsilver logo

Pushsilver

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

Pushsilver
PhpStorm logo

PhpStorm

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

PhpStorm
Shift logo

Shift

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

Shift
Harpoon: Next generation time tracking and invoicing logo

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