This is a very small post to remember how to use a local package when it has been already publish to packagist.org.

Basically you need to tell composer from where to pull the code, the next snippet shows how to do it:

{
    "repositories": [
        {
            "type": "path",
            "url": "../code/my-awesome-package",
            "packagist.org": false
        }
    ],
    "require": {
        "my/awesome-package": "@dev"
    }
}

Reference: https://stackoverflow.com/questions/41782242/how-to-force-composer-to-download-a-local-package