I've got this error after using reflar extension generator 😀
[InvalidArgumentException]
Could not find a matching version of package ThierryParlierAddGroupButton. Check the package spelling, your version
constraint and that the package is available in a stability which matches your minimum-stability (beta).
Composer.json is like this
{
"name": "thierryparlier/addgroupbutton",
"description": "Add an external link to create group",
"keywords": [
"flarum"
],
"type": "flarum-extension",
"license": "MIT",
"require": {
"flarum/core": "^0.1.0-beta.9"
},
"authors": [
{
"name": "Thierry Parlier",
"email": "dev.thierryparlier@gmail.com",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"ThierryParlier\\AddGroupButton\\": "src/"
}
},
"extra": {
"flarum-extension": {
"title": "Add a Button With an External Link",
"icon": {
"name": "",
"backgroundColor": "",
"color": ""
}
},
"flagrow": {
"discuss": ""
}
}
}