Overview

Learn how to automate the Web with PHP.Are you integrating with another web site but an API is not available? Does their API not provide what you need? Web scraping is a time-honored technique for collecting the information you need from a web page. In this book, you'll learn the various tools and libraries available in PHP to retrieve, parse, and extract data from HTML.The Web has come a long way in the last ten years. Web Scraping with PHP, 2nd Edition includes updates to the techniques of the first edition to account for modern PHP 7 based libraries written to more easily interact with web data. Whether you use plain PHP with cURL or a popular framework like Zend Framework or Symfony, this book is full of examples showing how to use the classes and functions available. Topics covered include:
  • HTTP requests and responses
  • PHP's HTTP Stream wrapper
  • Using the cURL extension
  • Working with the pecl_http extension
  • Parsing responses with Guzzle
  • Zend Framework's HTTP classes
  • An overview of Symfony's libraries for web automation
  • Writing a client from scratch
  • Extensions for parsing and tidying XML and HTML
  • Using regular expressions
  • ... and more. Written by PHP professional Matthew Turland, this book builds on his expertise in creating custom web clients.

  • ISBN-13

    9781940111674

    ISBN-10

    1940111676

    Weight

    0.73 Pounds

    Dimensions

    7.50 x 0.43 x 9.25 In

    List Price

    $24.00

    Edition

    2nd Edition

    Format

    Paperback

    Language

    English

    Publisher

    php[architect]

    Published On

    2019-08-16



    View All Offers

    Sort by:

    Condition
    Seller
    Seller Comments
    Price
    Used, Good
    Seller details
    Bonita
    ★★★★☆

    Santa Clarita, CA, USA

    Access codes and supplements are not guaranteed with used items. May be an ex-library book.
    $52.45

     Free delivery by: 01 Apr 2026

    Brand New
    Seller details
    Bonita
    ★★★★☆

    Santa Clarita, CA, USA

    $79.68

     Free delivery by: 01 Apr 2026


    Bookstores.com relies on cookies to improve your experience.