See the wiki for assistance with the similarity checker.
Suggested approach: use Guzzle to make a GET request to the service (i.e. hit http://localhost:4910/... using Guzzle) from PHP when the page is loaded and somehow render the result on the page (excluding student ids).