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

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0.0) of this package.

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

1.0.0 2022-11-02 07:55 UTC

This package is auto-updated.

Last update: 2022-12-02 08:07:17 UTC


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

Magento 2 PHP composer packagist

[metapackage] Cli Constructor Arg Auto Proxy


Logo

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 :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

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

Contact

Vlad Podorozhnyi
Twitter: @vpodorozh
Email: vpodorozh@gmail.com