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

Scaffold Packages with the `laravel package` Command in Laravel Installer v5.31.0 image

Scaffold Packages with the `laravel package` Command in Laravel Installer v5.31.0

Read article
Building Package Installers image

Building Package Installers

Read article
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
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
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
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum