Let's say I have a webserver running something like Wordpress for the forward-facing interface and have Laravel in the background to generate some dynamic content.
Currently I use an iframe in Wordpress to insert the laravel page, I'd rather use file_get_contents but the server runs multiple webpages so I can't just download localhost/laravel/page, it has to be the server's URL/laravel/page
Is there a way to get the HTML/results of the Laravel page through the command line (in PHP code) without going through the internet to just download the page?
ie: the command to execute public/index.php but with the data necessary to trigger the router properly