Downloaded the M2 from magentocommerce with sample data. I have custom module which i developed locally on M2-rc 2.0. My question is that now how can i install module and where i place the custom module as there is no code folder in app directory and all the magento modules are in vendor folder. Also i dont want to create a repo for my module. Also i want to put my module in vendor folder


Just create the app/code/YourNameSpace/ModuleName folder yourself. Make sure, that your composer.json in the project root contains the line

    "files": [

in the autoload section (see https://github.com/magento/magento2-community-edition/blob/master/composer.json#L42) which is responsible for loading modules which are not installed via composer.

  • thanks for help. Also if i want to install module using composer then where i place the files? – Shaheer Ali Nov 18 '15 at 11:05
  • Then you need to make a own repository for that module, add your module to the composer.json and call composer.phar update – Alex Nov 18 '15 at 12:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.