PHPackages                             asgard/composer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. asgard/composer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

asgard/composer
===============

v0.3.0(10y ago)13411MITPHP

Since Jul 6Pushed 10y agoCompare

[ Source](https://github.com/asgardphp/composer)[ Packagist](https://packagist.org/packages/asgard/composer)[ RSS](/packages/asgard-composer/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (1)

\#Composer

Composer is a package that makes easier to execute scripts when a package is installed, updated and uninstalled with composer.

- [Installation](#installation)
- [Usage](#usage)

\##Installation

```
composer require asgard/composer 0.*

```

\##Usage

Create a composer/ folder in your project root and add the PHP files corresponding to the composer method you want to hijack:

```
install			composer/install.php
update			composer/update.php
uninstall		composer/uninstall.php
getInstallPath	composer/getInstallPath.php
isInstalled		composer/isInstalled.php
supports		composer/supports.php

```

[An example of the install.php script.](https://github.com/asgardphp/starter/blob/master/composer/install.php)

For more information, please check the [BundleInstaller.php source code](https://github.com/asgardphp/composer/blob/master/BundleInstaller.php) and [composer documentation](https://getcomposer.org/doc/articles/custom-installers.md).

\###Contributing

Please submit all issues and pull requests to the [asgardphp/asgard](http://github.com/asgardphp/asgard) repository.

### License

[](#license)

The Asgard framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~338 days

Total

3

Last Release

3655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/849017ae3ff0c90a272e935f9c1db9a64692db4a2a18a8d0e4bf9dbcd6f74e2c?d=identicon)[leyou](/maintainers/leyou)

---

Top Contributors

[![h0gar](https://avatars.githubusercontent.com/u/439138?v=4)](https://github.com/h0gar "h0gar (6 commits)")

### Embed Badge

![Health badge](/badges/asgard-composer/health.svg)

```
[![Health](https://phpackages.com/badges/asgard-composer/health.svg)](https://phpackages.com/packages/asgard-composer)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
