{
"name": "connor0095/flarum-imgurupload",
"description": "Seamlessly upload and embed Imgur images",
"type": "flarum-extension",
"keywords": ["formatting"],
"license": "MIT",
"authors": [
{
"name": "Connor Davis",
"email": "cdavis@produes.co"
}
],
"autoload": {
"psr4": [
"connor0095\\imgurupload\\": "src/"
]
},
"support": {
"issues": "https://github.com/connor0095/flarum-imgur-upload/issues",
"source": "https://github.com/connor0095/flarum-imgur-upload"
},
"require": {
"flarum/core": "^0.1.0-beta.3"
},
"extra": {
"flarum-extension": {
"title": "Imgur Upload",
"icon": {
"image": "icon.jpg",
"backgroundColor": "#1C1C1C",
"backgroundSize": "50%",
"backgroundRepeat": "no-repeat",
"backgroundPosition": "center"
}
}
}
}
the above should work if you used psr4 standards, this means the directory Listeners is in src/Listeners
. After that run a
composer dumpautoload