How to access Electrum remotely via the rest api?
I got most of my answers here.


  Note that HTTP basic auth sends the username and the password unencrypted as part of the request. While using it on localhost is fine in our opinion, using it across an untrusted LAN or the Internet is not secure. Hence, you should take further measures in such cases, such as wrapping the connection in a secure tunnel. For further details, read this.


So it sounds like i'll have to build a PHP wrapper myself, or use a SSL tunnel. (Not excited at all)