How to work in Localhost with plugins

Dear Team,

taking into consideration that your shop must have a valid url to validate the application in to download plugins, how do we work, download and install plugins in localhost for testing?

any help appreciated.

I did it with a little trick. I had a valid domain in one of my personal webhostings. I created a new subdomain. This subdomain I registered in my Shopware account. 

After that I edited my host file on my local machine. I configured this file with

With this for me it was possible to work with plugins :) 

best regards Kevin