Needed to add the get() to the laravel php controller.