Level 53
use guzzle, do an http request for the page and check the status (404 / 400 / 500 ?) or the content of the body.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
hi all i have an API url that cant be reached right now
This site can’t be reached
so i want to check in laravel if the site bot work return 'fail'
How to do that??
Please or to participate in this conversation.