luceos Thank you for your input. I can't access composer globally, because I don't have access to the /usr/local/bin folder. If I keep the composer file locally, I can execute it via
"php56 composer ..."
If I try to enter the first line, it of course says "InvalidArgumentException Project directory ./ is not empty"
I'm a real newbie to SSH and doing stuff that is not WYSIWYG. I installed composer locally and then installed Flarum.
EDIT: Ok, I managed to tell composer to create a directory so that it can install flarum in an empty directory. I did all the commands you mentioned above. Still the same error as before, still the same JSON-content.
EDIT2: I even pasted the contents of the composer.json-file found in the flarum github project into my composer.json and added the "zendframework" via command. Still the same error. ?