PHPackages                             marvincaspar/composer-azure-plugin - 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. marvincaspar/composer-azure-plugin

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

marvincaspar/composer-azure-plugin
==================================

Azure Composer plugin

2.0.2(3y ago)110.6k↓11.1%4[2 issues](https://github.com/marvincaspar/composer-azure-plugin/issues)MITPHPPHP ~8.1.0||~8.2.0

Since Jan 28Pushed 3y agoCompare

[ Source](https://github.com/marvincaspar/composer-azure-plugin)[ Packagist](https://packagist.org/packages/marvincaspar/composer-azure-plugin)[ RSS](/packages/marvincaspar-composer-azure-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (23)Used By (0)

[![Build status](https://github.com/marvincaspar/composer-azure-plugin/workflows/CI/badge.svg)](https://github.com/marvincaspar/composer-azure-plugin/workflows/CI/badge.svg)[![codecov](https://camo.githubusercontent.com/779811e774ce96ee66a4e00668e4747fc2afd6e45f597e09df7ee29ab42298f2/68747470733a2f2f636f6465636f762e696f2f67682f6d617276696e6361737061722f636f6d706f7365722d617a7572652d706c7567696e2f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d44473347363354305132)](https://codecov.io/gh/marvincaspar/composer-azure-plugin)

Composer Azure Plugin
=====================

[](#composer-azure-plugin)

Composer Azure plugin is an attempt to use Composer with Azure DevOps artifacts, via universal packages.

Install
-------

[](#install)

Composer Azure Plugin requires [Composer 2](https://getcomposer.org/) and PHP8.1 or newer. It should be installed globally.

```
$ composer global require marvincaspar/composer-azure-plugin

```

You have to be logged in via the [Azure command line interface](https://docs.microsoft.com/de-de/cli/azure/install-azure-cli-linux?pivots=apt#sign-in-to-azure-with-the-azure-cli).

Usage
-----

[](#usage)

This plugin has two components. Publishing a composer package to azure and pulling the dependency.

### Publishing a package

[](#publishing-a-package)

In the package you want to publish you have to add an `azure-publish-registry` config to the `extra` block.

```
{
    ...
    "extra": {
        "azure-publish-registry": {
            "organization": "dev.azure.com/",
            "project": "",
            "feed": ""
        }
    }
}
```

This plugin adds a new composer command to easily publish the package. Just run `composer azure:publish` and it will remove all ignore files (e.g. the vendor folder) and publish the code to azure artifacts.

### Use package as dependency

[](#use-package-as-dependency)

To use a published package add an `azure-repositories` config to the `extra` block. There you define which packages are required for the current project. In the `required` block you then define the requirements as usual. The only downsite is, that you can't use constraints and set a specific version.

```
{
    "require": {
        "vendor-name/my-package": "1.0.0"
    },
    "extra": {
        "azure-repositories": [
            {
                "organization": "dev.azure.com/",
                "project": "",
                "feed": "",
                "symlink": false,
                "packages": [
                    "vendor-name/my-package"
                ]
            }
        ]
    }
}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~38 days

Recently: every ~152 days

Total

22

Last Release

1140d ago

Major Versions

1.1.10 → 2.0.02022-10-12

PHP version history (2 changes)2.0.0PHP ~8.1.0

2.0.2PHP ~8.1.0||~8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b2d5b82ed993c9b0074f4aaf6d3b4aa2dad41ab76118118a4345660d6695684?d=identicon)[mc388](/maintainers/mc388)

---

Top Contributors

[![marvincaspar](https://avatars.githubusercontent.com/u/2600346?v=4)](https://github.com/marvincaspar "marvincaspar (40 commits)")[![flavaud-traceone](https://avatars.githubusercontent.com/u/43442520?v=4)](https://github.com/flavaud-traceone "flavaud-traceone (16 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/marvincaspar-composer-azure-plugin/health.svg)

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

###  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)
