|
| 1 | +--- |
| 2 | +title: Magento CLI Constructor Arg Auto Proxy |
| 3 | +keywords: Magento, CLI, Proxy, ObjectManager |
| 4 | +author: Vlad Podorozhnyi |
| 5 | +send_questions_to: vpodorozh@gmail.com | vlad.podorozhnyi@run-as-root.sh |
| 6 | +category: System |
| 7 | +--- |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | +<br /> |
| 14 | +<div align="center"> |
| 15 | + <img src="images/logo.png" alt="Logo" width="100" height="80"> |
| 16 | + |
| 17 | +<h3 align="center">Magento 2 - Auto Proxy to CLI class arguments</h3> |
| 18 | + |
| 19 | + <p align="center"> |
| 20 | + Automatically injects Proxy for any argument defined in CLI command class constructor. |
| 21 | + <br /> |
| 22 | + </p> |
| 23 | +</div> |
| 24 | + |
| 25 | +## About The Project |
| 26 | + |
| 27 | +### Purpose: |
| 28 | +* speed up `php bin/magento` command execution; |
| 29 | +* 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. |
| 30 | + |
| 31 | +## Getting Started |
| 32 | + |
| 33 | +### Prerequisites |
| 34 | +* Magento v2.4.* and upper |
| 35 | +* composer v2 and upper |
| 36 | + |
| 37 | +### Structure |
| 38 | +* magento2-component - see [README.md](component/README.md) |
| 39 | +* library - see [README.md](lib/README.md) |
| 40 | + |
| 41 | +### Installation |
| 42 | + |
| 43 | +```bash |
| 44 | +composer req vpodorozh/magento-cli-auto-proxy:* |
| 45 | +``` |
| 46 | + |
| 47 | +## Roadmap |
| 48 | + |
| 49 | +- [x] MVP release |
| 50 | +- [x] Documentation |
| 51 | +- [ ] PHP 8 support (mostl likely supported already :suspect: ) |
| 52 | +- [ ] Unit tests coverage |
| 53 | +- [ ] Static tests coverage |
| 54 | + - [ ] php linting |
| 55 | + - [ ] phpcs |
| 56 | + - [ ] phpmd |
| 57 | + - [ ] phpstan |
| 58 | +- [ ] Integration tests coverage |
| 59 | +- [ ] Pipelines tests automation |
| 60 | + - [ ] Static tests |
| 61 | + - [ ] Unit tests |
| 62 | + - [ ] Integration tests |
| 63 | + - [ ] Magento multiversions tests |
| 64 | + |
| 65 | +## License |
| 66 | + |
| 67 | +Distributed under the MIT License. See `LICENSE.txt` for more information. |
| 68 | + |
| 69 | +## Contact |
| 70 | + |
| 71 | +_Vlad Podorozhnyi_ |
| 72 | +Twitter: [](https://twitter.com/vpodorozh) |
| 73 | +Email: `vpodorozh@gmail.com` | `vlad.podorozhnyi@run-as-root.sh` |
0 commit comments