PHP Package: spatie/crawler
A PHP library designed for SEO optimization and web crawling capabilities, assisting in website analysis and data extraction.
Package Description
Spatie's Crawler PHP library is a powerful tool tailored for SEO specialists and developers to efficiently crawl websites for data extraction, link analysis, and content optimization. With a robust set of features and intuitive APIs, it simplifies the process of web scraping while ensuring high performance and reliability.
Download Latest Version: 8.4.3

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/crawler/8.4.3/loader.php';
require_once 'libs/guzzle/guzzle/7.10.0/loader.php';
require_once 'libs/symfony/dom-crawler/7.3.3/loader.php';
use Spatie\Crawler\Crawler;
use GuzzleHttp\Client;
use Symfony\Component\DomCrawler\Crawler;
$obj = new Crawler();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.