PHPackages                             eelcol/laravel-scrapers - 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. eelcol/laravel-scrapers

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

eelcol/laravel-scrapers
=======================

Laravel scrapers

1.2.5(2mo ago)21.5k↓77.8%MITPHPPHP ^8.0

Since Sep 10Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/eelcol/laravel-scrapers)[ Packagist](https://packagist.org/packages/eelcol/laravel-scrapers)[ RSS](/packages/eelcol-laravel-scrapers/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (10)Versions (40)Used By (0)

Laravel Scrapers
================

[](#laravel-scrapers)

A Laravel package to scrape webpages using ScrapingBee and/or ScraperApi.

Examples
========

[](#examples)

- Scrape an URL:

```
$response = Scraper::get('https://www.nu.nl');

```

- Scrape an image:

```
$response = Scraper::image('https://via.placeholder.it/250x250.png');

```

- Use a specific scraper:

```
$response = Scraper::provider('scraperapi')->get('https://www.nu.nl');

```

- Use premium proxies:

```
$response = Scraper::premium()->get('https://www.nu.nl');

```

- When writing a test that triggers the scraper, you probably do not want to use ScraperAPI or ScrapingBee. In that case, include the test method in your test:

```
...
Scraper::test();
...

```

Installation
============

[](#installation)

Require this package with composer.

```
composer require eelcol/laravel-scrapers

```

Add to your env:

```
SCRAPER_PROVIDER=see below
SCRAPER_MAX_CONCURRENCY=5
SCRAPERAPI_KEY=
SCRAPINGBEE_KEY=

```

When using a different proxy, add the following variables to your .env:

```
SCRAPER_PROXY_HOST=
SCRAPER_PROXY_PORT=
SCRAPER_PROXY_USER=
SCRAPER_PROXY_PASS=

```

The following values are allowed for `SCRAPER_PROVIDER`

- scrapingbee
- scraperapi
- http
- proxy

Use `http` for normal HTTP requests, without using a scraper provider. Use `proxy` to use a custom defined proxy.

Run tests using Docker
======================

[](#run-tests-using-docker)

Use the following command to run the tests:

```
docker run --rm -v "$(pwd):/app" -w /app php:8.2-cli bash -c "apt-get update && apt-get install -y git unzip && curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer && composer install --no-interaction && vendor/bin/phpunit"

```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Recently: every ~13 days

Total

39

Last Release

86d ago

PHP version history (4 changes)1.0.0PHP ^7.4

1.0.1PHP ^7.4|^8.0

1.1.0PHP 8.0

1.1.1PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9012901?v=4)[eelcol](/maintainers/eelcol)[@eelcol](https://github.com/eelcol)

---

Top Contributors

[![eelcol](https://avatars.githubusercontent.com/u/9012901?v=4)](https://github.com/eelcol "eelcol (39 commits)")

---

Tags

laravelscrapers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eelcol-laravel-scrapers/health.svg)

```
[![Health](https://phpackages.com/badges/eelcol-laravel-scrapers/health.svg)](https://phpackages.com/packages/eelcol-laravel-scrapers)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M153](/packages/spatie-laravel-health)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
