fetch
require()
import
jQuery.get()
wp_remote_get
require_once( "https://yoursite.com/library.php" ); $lib = new Library();