How to install slim framework on godaddy using composer

I trying to install slim frame work on my godaddy server
suggest me the proper way to install it !!

You can start with this skeleton by Rob A.

Thanks for suggestion It is an slim3 but I create my API in slim(2.3.5) I upload all slim/slim file as it is on the server but slim is not working

Install Locally and then upload ALL folders to godaddy, vendor folder included.