vpodorozh / cli-construct-arg-auto-proxy-meta
Makes all Magento CLI commands construct dependencies be injected as Proxy.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:metapackage
Requires
Requires (Dev)
- roave/security-advisories: dev-latest
README
--- 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 ---
[metapackage] Cli Constructor Arg Auto Proxy

Magento 2 - Auto Proxy to CLI class arguments
Automatically injects Proxy for any argument defined in CLI command class constructor.
About The Project
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:
Project consists of 3 packages:
- Magento 2 Component:
vpodorozh/cli-construct-arg-auto-proxy-component
Provides entry point to Magento via global DI config. - Library:
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
Prerequisites
- Magento v2.4.* and upper
- composer v2 and upper
Installation
# flush cache first php bin/magento cache:flush # then require a package composer req vpodorozh/cli-construct-arg-auto-proxy-meta:*
Roadmap
- MVP release
- Documentation
- PHP 8 support (mostl likely supported already
)
- 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
Distributed under the MIT License. See LICENSE.txt
for more information.