PHPackages                             fooman/composer-magento2-optimizations - 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. fooman/composer-magento2-optimizations

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

fooman/composer-magento2-optimizations
======================================

Composer plugin to improve composer performance for Magento 2 projects

3328.8k2[1 issues](https://github.com/fooman/composer-magento2-optimizations/issues)PHP

Since Mar 11Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Optimize Composer 1.x for Magento 2.3.0+ projects
=================================================

[](#optimize-composer-1x-for-magento-230-projects)

[![Build Status](https://camo.githubusercontent.com/5cfd021067ee232ef1f688bda7e8448db5522002baaa28f112574cf2b1820c16/68747470733a2f2f7472617669732d63692e6f72672f666f6f6d616e2f636f6d706f7365722d6d6167656e746f322d6f7074696d697a6174696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fooman/composer-magento2-optimizations)

About
=====

[](#about)

Adapted for Magento 2 from [zaporylie/composer-drupal-optimizations](https://github.com/zaporylie/composer-drupal-optimizations)This composer-plugin contains a set of improvements that makes running heavy duty composer commands (i.e. `composer update` or `composer require`) much faster.

Installation
============

[](#installation)

```
composer require --dev fooman/composer-magento2-optimizations:dev-master
```

No configuration required 🎊

Optimizations
=============

[](#optimizations)

- Reduce memory usage and CPU usage by removing legacy symfony tags

Benchmark
=========

[](#benchmark)

[Before](https://travis-ci.org/fooman/composer-magento2-optimizations/jobs/544611808#L1190)

> Memory usage: 351.1MiB (peak: 1092.15MiB), time: 17.23s

[After](https://travis-ci.org/fooman/composer-magento2-optimizations/jobs/544611808#L1210)

> Memory usage: 268.44MiB (peak: 345.67MiB), time: 8.67s

Configuration
=============

[](#configuration)

If no configuration is provided this package will provide sensible defaults based on the Magento 2 version constraint in the root composer.json file. Default configuration should cover 99% of the cases. However, in case you want to manually specify the tags that should be filtered out you are welcome to use the `extra` section:

```
{
  "extra": {
    "composer-magento2-optimizations": {
      "require": {
        "symfony/symfony": ">4.1"
      }
    }
  }
}
```

All you have to do is to make sure your Magento project constraint in the root composer.json is set to `magento/project-community-edition: 2.3.0`/`magento/project-enterprise-edition: 2.3.0`/`magento/magento-cloud-metapackage: 2.3.0` or above.

Credits
=======

[](#credits)

- Symfony community - idea and development; Special thanks to @nicolas-grekas
- Jakub Piasecki - port and maintenance

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 59.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/375f14d0764181d464de53f75008cf58c61f6c348e2649a9700699612a7ede65?d=identicon)[fooman](/maintainers/fooman)

---

Top Contributors

[![zaporylie](https://avatars.githubusercontent.com/u/1690685?v=4)](https://github.com/zaporylie "zaporylie (29 commits)")[![kristof-ringleff](https://avatars.githubusercontent.com/u/47804013?v=4)](https://github.com/kristof-ringleff "kristof-ringleff (15 commits)")[![sprankhub](https://avatars.githubusercontent.com/u/930199?v=4)](https://github.com/sprankhub "sprankhub (2 commits)")[![danepowell](https://avatars.githubusercontent.com/u/1984514?v=4)](https://github.com/danepowell "danepowell (1 commits)")[![Maksold](https://avatars.githubusercontent.com/u/325244?v=4)](https://github.com/Maksold "Maksold (1 commits)")[![neclimdul](https://avatars.githubusercontent.com/u/82823?v=4)](https://github.com/neclimdul "neclimdul (1 commits)")

### Embed Badge

![Health badge](/badges/fooman-composer-magento2-optimizations/health.svg)

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

###  Alternatives

[sylvainjule/code-editor

Code editor field for Kirby 3, 4 and 5

377.4k](/packages/sylvainjule-code-editor)[runelaenen/sw6-redirects

Redirect plugin for Shopware 6

2511.2k](/packages/runelaenen-sw6-redirects)[jiaxincui/hashid

Laravel ID Encrypt Helper

2410.8k](/packages/jiaxincui-hashid)[bicpi/html-converter

HTML-to-Text converter library

1120.7k1](/packages/bicpi-html-converter)[williarin/cook

Composer plugin to execute recipes embedded in packages

252.1k3](/packages/williarin-cook)

PHPackages © 2026

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