magento2-phpstorm-plugin icon indicating copy to clipboard operation
magento2-phpstorm-plugin copied to clipboard

Scaffold a simple shipping method

Open ioweb-gr opened this issue 5 months ago • 1 comments

Is your feature request related to a problem? Please describe. Currently, developing a custom shipping method in Magento requires manually creating various files and writing boilerplate code, which can be time-consuming and prone to errors. This process can be challenging, especially for new developers or those unfamiliar with Magento's shipping method architecture.

Describe the solution you'd like (*) I would like to request a feature in the PhpStorm plugin for Magento that allows developers to easily scaffold a simple shipping method. This feature should generate the basic files and code structure needed for a custom shipping method, including necessary XML configurations, Model, and any other required classes. The scaffolded code should follow Magento's best practices and provide placeholders or comments to guide further customizations.

Describe alternatives you've considered An alternative solution is to continue manually creating the shipping method, but this approach is less efficient and more prone to errors. Another option could be to use third-party tools or scripts for scaffolding, but having this functionality integrated into the PhpStorm plugin would be more convenient and consistent with Magento development workflows.

Additional context The ability to quickly scaffold a simple shipping method would greatly enhance the development experience in Magento, making it easier for developers to create custom shipping solutions and encouraging adherence to Magento's coding standards. This feature would be particularly beneficial for new Magento developers or those working on projects with multiple custom shipping methods.

ioweb-gr avatar Jan 19 '24 12:01 ioweb-gr