Magento 2 Module Creator is an online module creator tool which helps you to generate and download the basic code that you require all time for your custom module. You can generate a module based on the company name and the module name. This will save Magento developers time which helps in providing the estimation of custom module development.

To create your new module all you have to do is enter Namespace, Module Name and your Email. Then submit the form by clicking on the generate button. Your module will be downloaded as a zip archive file.

You can later start work by keeping, adding, removing, changing files according to your requirement.

This is what you get

Generate Your Module

Check appropriate checkbox if you need it in your custom module. By default module will be like shown in screenshots.

9 Comments
  • Jaimin Patel
    Posted at 06:28h, 09 August Reply

    It’s amazing module creator as per your needs and it saves developers time.

  • Mrudangi Vaghela
    Posted at 20:35h, 11 October Reply

    After installing module from here i am getting error in magento adminpanel. Can you send me video how it looks in magento backend?

    • Vicky
      Posted at 22:22h, 11 October Reply

      If the latest Magento version has a problem I need to fix that immediately.
      Can you please tell me which version of Magento 2 you are using?
      And What is the error?
      About the video, I am already showing screenshots on this page. It will show the same as screenshots in the admin panel also.

  • Mrudangi Vaghela
    Posted at 19:00h, 12 October Reply

    Thanks for helping me. It worked fine.

    • Vicky
      Posted at 08:35h, 13 October Reply

       I am glad to help you with this.

  • umesh
    Posted at 11:19h, 13 November Reply

    i create a module that u mention but backed tutorial not here please help to create backed file for save,edit delete and add new data .

    • Vicky
      Posted at 04:33h, 21 November Reply

      Hello Umesh,

      I will make a tutorial about backend as soon as possible. In the mean time you can use the module creator to generate only backend CRUD and see the files and do some debugging to learn or check which code is for what.

  • Randy Orton
    Posted at 13:48h, 19 November Reply

    What I have to do if I only want to upload images into a specific folder ?

    • Vicky
      Posted at 04:02h, 21 November Reply

      My Module is Test_Testing
      In Save.php file which will be located at
      Admin – Controller/Adminhtml/Items/Save.php
      Frontend – Controller/Index/Save.php
      You will see this two lines and this
      1st line $mediaDirectory = $this->filesystem->getDirectoryRead($this->directoryList::MEDIA);
      2ed line $destinationPath = $mediaDirectory->getAbsolutePath(‘test/testing’);
      You can change as per your requirement.
      For example your folder is in pub/media then keep the first line and place your folder names in the second line like this
      let’s say you want to upload in a folder pub/media/new01/new02/new03/new04
      $destinationPath = $mediaDirectory->getAbsolutePath(‘new01/new02/new03/new04’);
      In short if we print $destinationPath variable we should have a real path like this
      E:/xampp/htdocs/magento/pub/media/new01/new02/new03/new04
      so if your folder is not in pub/media no problem you just need to get the real path like this somehow in the $destinationPath variable

      Then $imagePath = ‘test/testing’.$result[‘file’]; you need to change here also
      $imagePath = ‘new01/new02/new03/new04’.$result[‘file’];

      Done.

Post A Comment