Registry / http-client / fabpot-goutte

fabpot-goutte

JSON →
library4.0.3phppackagistunverified

A simple PHP Web Scraper

composer require fabpot/goutte
INSTALL
IMPORT
SIG · FABPOT-GOUTTE
F
fabpot-goutte
http-clientphpv4.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Goutte\Client;

Scrape a webpage and extract the first h1 text

use Goutte\Client; $client = new Client(); $crawler = $client->request('GET', 'https://example.com'); echo $crawler->filter('h1')->text();
Debug
Known issues
breakingGoutte is deprecated in favor of Symfony Panther for modern web scraping.
fix
Migrate to Symfony Panther or use the underlying BrowserKit component directly.
affects: >=4.0
Upgrade
Version history
4.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
fabpot-goutte — pip install fabpot-goutte · libregistry