Pirat The installation folder will be localhost/flarum/public/ Instead localhost/flarum/
The . in your composer command tells composer where to install into. However Flarum now also ships with its own public/ directory, so there no longer is a need to install Flarum into a public directory.
Pirat There is a conflict between authorization and registration
I don't understand.
Pirat To enter your profile you need to clear your browser’s cache.
Why do you need to clear the cache? What is wrong when you don't?
Pirat Clear the cache through the admin panel it does not have permissions for such actions
The web user ought to have permission to clear cache. Obviously if you clear cache using the command you'd never run into that permission issue, but that only means you never configured the permissions correctly.
Pirat Remove extensions to clear the cache, not visible if possible
Sorry, I don't understand.