I am trying to require my package newly setup in packagist and github in a magento local projet when I run command.
composer require anasstouaticoder/magento2-module-instantconfigurationcopy
but I am getting this error message
[InvalidArgumentException]
Could not find a version of package anasstouaticoder/magento2-module-instantconfigurationcopy matching your minimum-stability (stable). Require it with an explicit ver
sion constraint allowing its desired stability.
require [--dev] [--prefer-source] [--prefer-dist] [--fixed] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--skip-magento-root-plugin] [--use-default-magento-values] [--interactive-magento-conflicts] [--base-magento-edition BASE-MAGENTO-EDITION] [--base-magento-version BASE-MAGENTO-VERSION] [--] []...
This is my composer.json
{
"name": "anasstouaticoder/magento2-module-instantconfigurationcopy",
"description": "The InstantConfigurationCopy module provides easy way to copy configuration field hints for admin in back office Magento 2.",
"keywords": [
"magento 2",
"back office",
"config hint path",
"hint path"
],
"authors": [
{
"name": "Anass TOUATI",
"email": "anass1touati@gmail.com",
"homepage": "https://www.linkedin.com/in/anass-touati-9a3b028b/",
"role": "Leader"
}
],
"require": {
"magento/framework": "*",
"magento/module-config": "101.2.*"
},
"type": "magento2-module",
"version": "1.0.1",
"license": [
"MIT"
],
"autoload": {
"files": [
"registration.php"
],
"psr-4": {
"AnassTouatiCoder\\InstantConfigurationCopy\\": ""
}
}
}
should I add "minimum-stability": "dev", ?
Thanks in advance