cancel
Showing results for 
Search instead for 
Did you mean: 

How to add custom extension to 2.x full release (without composer)?

SOLVED

How to add custom extension to 2.x full release (without composer)?

I've built a custom extension, including a composer.json and register.php in the root at /app/code/Myapps/Mymodule

 

Magento recognizes the register.php, but nothing more. The extension doesn't even show up under 'Disable modules output' in the admin.

 

I try to run

composer upgrade

or

php bin/magento setup:upgrade

(or update), but none of this works.

 

What essential step am I missing to have Magento 2.x recognize a new extension? Here's my composer.json file:

{
    "name": "appmerce/module-idealeasy",
    "description": "N/A",
    "require": {
        "php": "~5.5.0|~5.6.0|~7.0.0",
        "magento/module-sales": "100.0.*",
        "magento/module-store": "100.0.*",
        "magento/module-quote": "100.0.*",
        "magento/module-checkout": "100.0.*",
        "magento/module-backend": "100.0.*",
        "magento/module-payment": "100.0.*",
        "magento/module-catalog": "100.0.*",
        "magento/framework": "100.0.*"
    },
    "type": "magento2-module",
    "version": "100.0.1",
    "license": [
        "proprietary"
    ],
    "autoload": {
        "files": [
            "registration.php"
        ],
        "psr-4": {
            "Appmerce\\IdealEasy\\": ""
        }
    }
}
1 REPLY

Re: How to add custom extension to 2.x full release (without composer)? [FIXED]

Never mind, it did work. I used from command root:

 

php bin/magento setup:upgrade