PHP Package: zenstruck/browser

A PHP library for web scraping and automation tasks, designed for flexibility and ease of use.

Current Version: 1.9.1
Last Updated: 2024-11-05
PHP Requirement: >=8.0
Dependencies:
guzzle/guzzle
symfony/css-selector
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Zenstruck Browser is a powerful PHP library that allows you to scrape websites, interact with forms, and automate web-based tasks. It provides a clean and intuitive API, making it easy to navigate websites and extract data. With Zenstruck Browser, you can quickly build robust web scraping tools and automation scripts to streamline your workflow and save time. Whether you need to extract information from multiple pages or automate form submissions, Zenstruck Browser has you covered.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.9.1

Download Download v1.9.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/zenstruck/browser/1.9.1/loader.php';
require_once 'libs/guzzle/guzzle/7.10.0/loader.php';
require_once 'libs/symfony/css-selector/7.3.0/loader.php';

use Zenstruck\Browser\Browser;
use GuzzleHttp\Client;
use Symfony\Component\DomCrawler\Crawler;

$obj = new Browser();
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.