PHPackages                             vpodorozh/cli-construct-arg-auto-proxy-meta - 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. [CLI &amp; Console](/categories/cli)
4. /
5. vpodorozh/cli-construct-arg-auto-proxy-meta

AbandonedArchivedMetapackage[CLI &amp; Console](/categories/cli)

vpodorozh/cli-construct-arg-auto-proxy-meta
===========================================

Makes all Magento CLI commands construct dependencies be injected as Proxy.

1.0.0(3y ago)03

Since Nov 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/vpodorozh/CLI-Constructor-Arg-Auto-Proxy)[ Packagist](https://packagist.org/packages/vpodorozh/cli-construct-arg-auto-proxy-meta)[ RSS](/packages/vpodorozh-cli-construct-arg-auto-proxy-meta/feed)WikiDiscussions main Synced 1mo ago

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

Error in user YAML: (&lt;unknown&gt;): did not find expected key while parsing a block mapping at line 1 column 1

```
---
title: [metapackage] Cli Constructor Arg Auto Proxy
keywords: CLI, Proxy, ObjectManager
author: Vlad Podorozhnyi
send_questions_to: vpodorozh@gmail.com | vlad.podorozhnyi@run-as-root.sh
category: System
---
```

[![Magento 2](https://camo.githubusercontent.com/49f2616bea714fd16b0c854e7151104b0f1997d914361af9753d8c512a9fc6ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342e2a2d6f72616e6765)](https://camo.githubusercontent.com/49f2616bea714fd16b0c854e7151104b0f1997d914361af9753d8c512a9fc6ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342e2a2d6f72616e6765)[![PHP](https://camo.githubusercontent.com/f926042f81dd7d172a33225776fde37f8ed90988a5ef05037cf9950c5483df22/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342d626c7565)](https://camo.githubusercontent.com/f926042f81dd7d172a33225776fde37f8ed90988a5ef05037cf9950c5483df22/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342d626c7565)[![composer](https://camo.githubusercontent.com/538258cf4137a499d276303f5b7215cc5bee723060f574bc8b67bacc8bb5753a/68747470733a2f2f736869656c64732e696f2f62616467652f636f6d706f7365722d76322d6461726b677265656e)](https://camo.githubusercontent.com/538258cf4137a499d276303f5b7215cc5bee723060f574bc8b67bacc8bb5753a/68747470733a2f2f736869656c64732e696f2f62616467652f636f6d706f7365722d76322d6461726b677265656e)[![packagist](https://camo.githubusercontent.com/9f61bff7719cacec675eec90200f0c05dc3f84ba378c753b39c7ce7bcf990cf9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d663238643161)](https://camo.githubusercontent.com/9f61bff7719cacec675eec90200f0c05dc3f84ba378c753b39c7ce7bcf990cf9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d663238643161)

\[metapackage\] Cli Constructor Arg Auto Proxy
----------------------------------------------

[](#metapackage-cli-constructor-arg-auto-proxy)

 [![Logo](images/logo.png)](images/logo.png)### Magento 2 - Auto Proxy to CLI class arguments

[](#magento-2---auto-proxy-to-cli-class-arguments)

 Automatically injects Proxy for any argument defined in CLI command class constructor.

About The Project
-----------------

[](#about-the-project)

### Purpose:

[](#purpose)

- speed up `php bin/magento` command execution;
- eliminate `.flag table not found` issues while installation of your project with fresh database (usually used with integration tests) - caused by not using Proxy in CLI of 3rd parties.

### Structure:

[](#structure)

Project consists of 3 packages:

- [**Magento 2 Component:**](https://github.com/vpodorozh/Cli-Constructor-Arg-Auto-Proxy-Component) `vpodorozh/cli-construct-arg-auto-proxy-component`
    Provides entry point to Magento via global DI config.
- [**Library:**](https://github.com/vpodorozh/Cli-Constructor-Arg-Auto-Proxy-Lib) `vpodorozh/cli-construct-arg-auto-proxy-lib`
    Contains main logic about Proxy injection into CLI constructor args;
- **Metapackage:** `vpodorozh/cli-construct-arg-auto-proxy-meta`
    Main package, orchestrate project from versioning and tracking points.

Getting Started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

- Magento v2.4.\* and upper
- composer v2 and upper

### Installation

[](#installation)

```
# flush cache first
php bin/magento cache:flush
# then require a package
composer req vpodorozh/cli-construct-arg-auto-proxy-meta:*
```

Roadmap
-------

[](#roadmap)

- MVP release
- Documentation
- PHP 8 support (mostl likely supported already ![:suspect:](https://github.githubassets.com/images/icons/emoji/suspect.png ":suspect:") )
- Unit tests coverage
- Static tests coverage
    - php linting
    - phpcs
    - phpmd
    - phpstan
- Integration tests coverage
- Pipelines tests automation
    - Static tests
    - Unit tests
    - Integration tests
    - Magento multiversions tests

License
-------

[](#license)

Distributed under the MIT License. See `LICENSE.txt` for more information.

Contact
-------

[](#contact)

Vlad Podorozhnyi
Twitter: [![@vpodorozh](https://camo.githubusercontent.com/c6321215161fdb61a2ad236b656da543b4709241adec31d615c8185bc631bc92/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c3f7374796c653d736f6369616c2675726c3d6874747073253341253246253246747769747465722e636f6d25324676706f646f726f7a68)](https://twitter.com/vpodorozh)
Email: `vpodorozh@gmail.com`

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

1294d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/edf58dc9729c3560edf3ac9ca5ed7582c8a7e949e221096dbea4d6ebc3d1a917?d=identicon)[vpodorozh](/maintainers/vpodorozh)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vpodorozh-cli-construct-arg-auto-proxy-meta/health.svg)

```
[![Health](https://phpackages.com/badges/vpodorozh-cli-construct-arg-auto-proxy-meta/health.svg)](https://phpackages.com/packages/vpodorozh-cli-construct-arg-auto-proxy-meta)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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