PHPackages                             softonic/laravel-intelligent-scraper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. softonic/laravel-intelligent-scraper

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

softonic/laravel-intelligent-scraper
====================================

Service to scrape a web page easily without knowing their HTML structure.

0.0.21(5y ago)733.2k26Apache-2.0PHPPHP &gt;=7.1

Since Aug 9Pushed 4y ago11 watchersCompare

[ Source](https://github.com/softonic/laravel-intelligent-scraper)[ Packagist](https://packagist.org/packages/softonic/laravel-intelligent-scraper)[ Docs](https://github.com/softonic/laravel-intelligent-scraper)[ RSS](/packages/softonic-laravel-intelligent-scraper/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (11)Versions (22)Used By (0)

Archived repository in favour of [joskfg/laravel-intelligent-scraper](https://github.com/joskfg/laravel-intelligent-scraper)
============================================================================================================================

[](#archived-repository-in-favour-of-joskfglaravel-intelligent-scraper)

Laravel Intelligent Scraper
===========================

[](#laravel-intelligent-scraper)

[![Latest Version](https://camo.githubusercontent.com/1164eb6add31f582b7ba5d7513794e7494efe592dc2389a747f5d68883f93c51/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736f66746f6e69632f6c61726176656c2d696e74656c6c6967656e742d736372617065722e7376673f7374796c653d666c61742d737175617265)](https://github.com/softonic/laravel-intelligent-scraper/releases)[![Software License](https://camo.githubusercontent.com/36cfc741510e076bec951c1421a2b1c3a5553e953fcdb378339626a5f33c1e8d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d99b5a75fb88ad5bb5f5a4163eeb55f03b781ab9a215a3c40625bbd585a42c83/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736f66746f6e69632f6c61726176656c2d696e74656c6c6967656e742d736372617065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/softonic/laravel-intelligent-scraper)[![Coverage Status](https://camo.githubusercontent.com/8f32c9255cbc7ac6c6cb7ebd88c545f38ba62cb9787a82b4793e6de842440ac5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f736f66746f6e69632f6c61726176656c2d696e74656c6c6967656e742d736372617065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/softonic/laravel-intelligent-scraper/code-structure)[![Quality Score](https://camo.githubusercontent.com/a548f24e0bb3ea556b592520acb41eab0b0a3429e276429482c39ad260e79c68/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736f66746f6e69632f6c61726176656c2d696e74656c6c6967656e742d736372617065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/softonic/laravel-intelligent-scraper)[![Total Downloads](https://camo.githubusercontent.com/b0fa89c4501d0af685e969dbc9425257a126ea9c42bbec40665e895f718286cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f66746f6e69632f6c61726176656c2d696e74656c6c6967656e742d736372617065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/softonic/laravel-intelligent-scraper)[![Average time to resolve an issue](https://camo.githubusercontent.com/b8d5c83253e55d0949ba494bcd22a5aaf9ecdde8d729951d105f7cfe9f4a7526/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f736f66746f6e69632f6c61726176656c2d696e74656c6c6967656e742d736372617065722e7376673f7374796c653d666c61742d737175617265)](http://isitmaintained.com/project/softonic/laravel-intelligent-scraper "Average time to resolve an issue")[![Percentage of issues still open](https://camo.githubusercontent.com/71f169ed9d2ac337a8ff2651e7b1d80201ae1a3300d5b617bb8a04a049f029e7/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f736f66746f6e69632f6c61726176656c2d696e74656c6c6967656e742d736372617065722e7376673f7374796c653d666c61742d737175617265)](http://isitmaintained.com/project/softonic/laravel-intelligent-scraper "Percentage of issues still open")

This packages offers a scraping solution that doesn't require to know the web HTML structure and it is autoconfigured when some change is detected in the HTML structure. This allows you to continue scraping without manual intervention during a long time.

Installation
------------

[](#installation)

To install, use composer:

```
composer require softonic/laravel-intelligent-scraper
```

To publish the scraper config, you can use

```
php artisan vendor:publish --provider="Softonic\LaravelIntelligentScraper\ScraperProvider" --tag=config
```

The migrations for database are registered in the service provider, so you can execute the migrate command to create the needed tables.

```
php artisan migrate
```

### Dependencies

[](#dependencies)

This package depends on [goutte](https://packagist.org/packages/fabpot/goutte) that depends on [guzzle](https://packagist.org/packages/guzzle/guzzle), so you can customize the client to your requisites. The only requirement for this package is that you must include the `http_error` midleware in the handle stack.

Example:

```
