vpodorozh / magento-cli-auto-proxy
Makes all Magento CLI commands construct dependencies be injected as Proxy.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 34
Watchers: 4
Forks: 7
Open Issues: 2
Type:magento2-component
Requires
- php: ^7.4 | ^8
- magento/framework: >=102.0.7
Requires (Dev)
- phpcompatibility/php-compatibility: ^9.3
- phpstan/phpstan: ^1.9
- phpunit/phpunit: >9
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
- dev-main
- 1.2.0
- 1.1.0
- 1.0.0
- dev-feature/php-82-checks
- dev-feature/update-unit-tests
- dev-feature/composer-cache-optimization
- dev-feature/actions-optimization
- dev-feature/add-php-stan-to-github-actions
- dev-feature/unit-tests-coverage-lib
- dev-feature/unit-tests-coverage
- dev-feature/test-unit-actions
- dev-feature/php-8.1-compatibility-check
This package is auto-updated.
Last update: 2024-12-22 21:15:59 UTC
README
Magento 2 - Auto Proxy to CLI class arguments
Automatically injects Proxy for any argument defined in CLI command class constructor.
About The Project
Purpose:
- eliminate issues while installation of your project with a fresh database (usually used with integration tests) - caused by not using Proxy in CLI of 3rd parties:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.flag' doesn't exist, query was: SELECT flag.* FROM flag WHERE (flag.flag_code='staging')
- speed up
php bin/magento
command execution;
Getting Started
Prerequisites
- Magento v2.4.* and upper
- composer v2 and upper
Structure
Installation
composer req run_as_root/magento-cli-auto-proxy:^1
Roadmap
- MVP release
- Documentation
- PHP 8 support
- 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:
Email: vpodorozh@gmail.com
| vlad.podorozhnyi@run-as-root.sh
run_as_root GmbH
Twitter:
Email: info@run-as-root.sh