ahmed23 Flarum really does need SSH, it makes things so much easier. You can circumvent this using composer locally and uploading it using FTP; but it makes things very complex.
So either find a host that support using ssh (most decent ones do), use a hosted service like https://freeflarum.com, or install locally and use ftp to upload.