Download the PHP package ixnode/php-web-crawler without Composer
On this page you can find all versions of the php package ixnode/php-web-crawler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-web-crawler
PHP Web Crawler
This PHP class allows you to crawl recursively a given html page (or a given html file) and collect some data from it. Simply define the url (or a html file) and a set of xpath expressions which should map with the output data object. The final representation will be a php array which can be easily converted into the json format for further processing.
1. Installation
2. Usage
2.1 PHP Code
2.2 JSON result
3. Advanced usage
3.1 Group
PHP Code
JSON result
3.2 XpathSection
PHP Code
JSON result
3.3 XpathSection (flat)
PHP Code
JSON result
3.3 XpathSection (structured)
PHP Code
JSON result
4. More examples
- examples/converter.php
- examples/group.php
- examples/section.php
- examples/sections-recursive-url.php
- examples/sections.php
- examples/simple-wiki-page.php
5. Development
6. License
This library is licensed under the MIT License - see the LICENSE.md file for details.
All versions of php-web-crawler with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-curl Version *
ext-dom Version *
ext-libxml Version *
ext-gd Version *
adhocore/cli Version ^v1.0.0
ixnode/php-container Version ^0.1.22
ext-curl Version *
ext-dom Version *
ext-libxml Version *
ext-gd Version *
adhocore/cli Version ^v1.0.0
ixnode/php-container Version ^0.1.22
The package ixnode/php-web-crawler contains the following files
Loading the files please wait ....