URLpipe in PHP
Complete programs for PHP 8.1+, using the curl extension, with CURLOPT_RETURNTRANSFER so curl_exec returns the body. Each page has the request, the async variant with a webhook, and the error handling, and each program on it was run against a stub of the API before it was published.
No Composer package: the curl extension is part of PHP, and the API is one POST per job.
PHP recipes
- Take a screenshot of a website in PHPTake a screenshot of a website with the curl extension: the request, the async variant and the error handling.See the code
- Convert a web page to Markdown in PHPConvert a web page to Markdown with the curl extension: the request, the async variant and the error handling.See the code
- Get the rendered HTML of a JavaScript page in PHPGet the rendered HTML of a JavaScript page with the curl extension: the request, the async variant and the error handling.See the code
- Get a page's metadata and Open Graph tags in PHPGet a page's metadata and Open Graph tags with the curl extension: the request, the async variant and the error handling.See the code
- Run a Lighthouse audit in PHPRun a Lighthouse audit with the curl extension: the request, the async variant and the error handling.See the code
- Verify a webhook signature in PHPA PHP webhook receiver that checks the HMAC signature, the timestamp and a rotation.See the code
Turn any URL into clean data in minutes.
Free plan, no card. Confirm your email and your API key is live — you'll be making real requests in minutes.