Hey,
I'm trying to get started with Flarum Extensions and am a bit stuck right now.
So basically I'm working through the documentation and currently am at the routes segment.
I set up a very basic extension using ReFlars extension Generator and added 2 things: The HelloWorldController from the Docs and a route directing at it.
But if I try visiting the route I always get an error 500.
It seems very similiar to this thread but I think I did everything that was explained there. I use a path respository like it's explained in the docs and the autoload key should be this part, that's automatically done by ReFlars Generator, right?:
"autoload": {
"psr-4": {
"Kvothe\\FlarumApiTest\\": "src/"
}
},
Here's the code I tried it with: https://github.com/oaklinq/FlarumApiTest
I'd appreciate your help.