PHPackages                             negative/simplescraper - 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. negative/simplescraper

ActiveLibrary

negative/simplescraper
======================

A (very) simple URL scraper that fetches title, description and images.

018PHP

Since May 2Pushed 12y agoCompare

[ Source](https://github.com/pierlo-upitup/Simplescraper)[ Packagist](https://packagist.org/packages/negative/simplescraper)[ RSS](/packages/negative-simplescraper/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simplescraper
-------------

[](#simplescraper)

[![Build Status](https://camo.githubusercontent.com/a1c6c592fbe1f56e99b028dcf7c4b8afd891740886dbcf12ffde1c4c5839fd25/68747470733a2f2f7472617669732d63692e6f72672f706965726c6f2d7570697475702f53696d706c65736372617065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pierlo-upitup/Simplescraper)

A (very) simple URL scraper that fetches title, description and images.

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

[](#installation)

Install via Composer

```
	composer require negative\simplescraper

```

version: dev-master.

Add

```
	'Negative\Simplescraper\SimplescraperServiceProvider'

```

to your app/config.php $providers array

Please check vendor/negative/simplescraper/src/config/config.php for configuration options.

Publish the configuration file by running

```
php artisan config:publish negative/simplescraper

```

and edit the configuration file under

```
/app/config/packages/negative/simplescraper/config.php

```

That's about it.

Usage
-----

[](#usage)

Simply call:

```
	Simplescraper::lookup('http://www.ikea.com/us/en/catalog/products/60202199/');

```

It will return an array like this:

```
	array(
		"url" => "http://www.ikea.com/us/en/catalog/products/60202199/",
		"title" => "FALSTER Table - gray  - IKEA",
		"description" => "IKEA - FALSTER, Table, gray , Polystyrene slats are weather-resistant and easy to care for.The furniture is both sturdy and lightweight as the frame is made of rustproof aluminum.You can easily sand down light scratches on the slates with fine sandpaper.",
		"images" => ["uploads/simplescraper/5329acc4378bb.jpg"]
	)

```

The config allows for the following options:

```
// If defined, download the scraped images to this directory
// PLEASE NOTE: use a dedicated folder if you want to use download_ttl
'download_dir' => public_path().'/uploads/simplescraper/',

// Delete downloded images after (seconds)
// set to zero to prevent automatic cleanup
'download_ttl' => 120,

// The maximum number of images to download
'max_imgs' => 1,

// Set a minimum size for the images that are shown.  This requires
// a download_dir to be set.
'minimum_size' => '300x200'

```

Credits
-------

[](#credits)

Inspired by the Laraval 3 bundle Scrapey  .

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a4ee05d9985d359aa0eaee468a2064506eb839fa6c36c5ffe0dd4c8e6f7c549?d=identicon)[pierlo-upitup](/maintainers/pierlo-upitup)

---

Top Contributors

[![pierluigi](https://avatars.githubusercontent.com/u/1078545?v=4)](https://github.com/pierluigi "pierluigi (18 commits)")

### Embed Badge

![Health badge](/badges/negative-simplescraper/health.svg)

```
[![Health](https://phpackages.com/badges/negative-simplescraper/health.svg)](https://phpackages.com/packages/negative-simplescraper)
```

PHPackages © 2026

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