Code snippet requested for PHP to server

Does anyone have a code snippet to consult the LT local server from PHP?
it would save me time.