luceos I changed it to this because it was throwing syntax errors with
composer dumpautoload
The dumpautoload goes through seamlessly but it still throws the error in the browser.
{
"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"
}
],
"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"
},
"autoload": {
"psr-4": {
"connor0095\\imgurupload\\": "src/"
}
},
"extra": {
"flarum-extension": {
"title": "Imgur Upload",
"icon": {
"image": "icon.jpg",
"backgroundColor": "#1C1C1C",
"backgroundSize": "50%",
"backgroundRepeat": "no-repeat",
"backgroundPosition": "center"
}
}
}
}