Stamped-io / Magento-v2.x

2 stars 4 forks source link

Composer installation #13

Open orthener opened 3 years ago

orthener commented 3 years ago

It was 2021 (1/5 of XXI century). Stamped-io does not use composer.json, tags and versions... I beg you, add "composer.json" file and update versions. Make the "Readme" better: add at least "Features" and "Configurations". (check this - https://www.makeareadme.com/).


Lifehack for other devs until they waiting. Magento's composer.json file:

"repositories": {
    ...
    "stamped-io": {
        "type": "package",
        "package": {
            "name": "stamped-io/magento2-core",
            "version": "1.0.0",
            "source": {
                "url": "git@github.com:Stamped-io/Magento-v2.x.git",
                "type": "git",
                "reference": "master"
            },
            "autoload": {
                "files": [
                    "Stamped/Core/registration.php"
                ],
                "psr-4": {
                     "Stamped\\Core\\": "Stamped/Core/"
                 }
             }
         }
    }
    ...
}
andrewkett commented 3 years ago

This simple change would make it much easier to install the Stamped Magento module. Please consider submitting it to packagist. https://blog.jgrossi.com/2013/creating-your-first-composer-packagist-package/