{"repo":"spatie/crawler","free":true,"listed":false,"github":"https://github.com/spatie/crawler","clone":"git clone https://github.com/spatie/crawler.git","description":"https://spatie.be/docs/crawler","language":"PHP","stars":2828,"topics":["php","crawler","guzzle","concurrency"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Crawl the web using PHP This package provides a powerful, easy to use class to crawl links on a website. Under the hood, Guzzle promises are used to crawl multiple URLs concurrently. Because the crawler can execute JavaScript, it can crawl JavaScript rendered sites. Under the hood, Chrome and Puppeteer are used to power this feature. Here's a quick example: Or collect all URLs on a site: You can also test your crawl logic without making real HTTP requests: If you need to stop a crawl based on external state, you can register a callback that receives the current crawler instance and is checked before scheduling each next request: Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Documentation All documentation is available on our documentation site. Testing Changelog Please see CHANGELOG for more information on what has changed recently. Contributing Please see CONTRIBUTING for details. Security Vulnerabilities Please review our security policy on how to report security vulnerabilities. Credits - Freek Van der Herten - All Contributors License The MIT License (MIT). Please see License File for more information.","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/crawler/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}