PHPackages                             haringsrob/icecat - 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. haringsrob/icecat

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

haringsrob/icecat
=================

Icecat data fetching class

1.1.0(4y ago)1746.0k↓33.3%14MITPHPPHP &gt;=5.5.0

Since Aug 6Pushed 4y ago5 watchersCompare

[ Source](https://github.com/haringsrob/icecat)[ Packagist](https://packagist.org/packages/haringsrob/icecat)[ Docs](https://github.com/haringsrob/icecat)[ RSS](/packages/haringsrob-icecat/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (10)Used By (0)

Icecat
======

[](#icecat)

[![Build Status](https://camo.githubusercontent.com/be46ce3c09e0be496f4b027ea23bca8249b9500ddd935ad8056f145555e46e71/68747470733a2f2f7472617669732d63692e6f72672f686172696e6773726f622f6963656361742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/haringsrob/icecat)[![Code Climate](https://camo.githubusercontent.com/828bbcb1b884439a38709774501824faa8ffe08315affaa61511f7d0d9ae91d1/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f686172696e6773726f622f6963656361742f6261646765732f6770612e737667)](https://codeclimate.com/github/haringsrob/icecat)

Icecat is a PHP library, that assists you in the following 2 procedures:

- Fetching data from the Icecat database using basic product information.
- Parsing this data from the Icecat response, and using them in real life applications.

### About Icecat

[](#about-icecat)

[Icecat](http://icecat.biz, "Icecat") is an open catalog, providing free access to thousands of product datasheets. In extend, when taking a subscription, the amount of accessible datasheets are increased.

There is a list of [Icecat sponsor brands](http://icecat.co.uk/en/menu/partners/index.html, "Icecat sponsor brands").

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

[](#installation)

The library can be installed using composer:

```
"haringsrob/icecat": "dev-master"

```

Usage
=====

[](#usage)

The class library is, in it's current state easy to be used.

### Result

[](#result)

The [Icecat class](https://github.com/haringsrob/icecat/blob/master/src/Model/Icecat.php) is responsible for parsing the data. It includes a few basic methods, but you can easily create your own implementation by implementing the IcecatInterface interface.

```
// Use the class.
use haringsrob\Icecat\Model\Result;

// See IcecatFetcher on how to get data or implement your own way.
$data = $fetcher->getBaseData();

// Initialize.
$icecat = new Result($data);

// Brand name. e.g.: Acer
$icecat->getSupplier();

// Long description of the product.
$icecat->getLongDescription();

// Short description.
$icecat->getShortDescription();

// The category the product belongs to. e.g.: Notebooks
$icecat->getCategory();

// Returns maximum 5 images about the product (optional limit).
$icecat->getImages(5);

// Returns key => value array with specifications. e.g: ['cpu' => 'Core I5', 'screensize' => '15.6']
$icecat->getSpecs();

// Returns array with videos of the product.
$icecat->getVideos();

// Returns array with manuals.
$icecat->getManuals();

// Returns array with 360 images.
$icecat->get360imageArray();

// Returns array with Reasons to Buy.
$icecat->getReasonsToBuy();
```

Demo is soon available.

### Fetcher

[](#fetcher)

The [IcecatFetcher](https://github.com/haringsrob/icecat/blob/master/src/Model/IcecatFetcher.php) is responsible for fetching the data from the database.

```
// Use the class.
use haringsrob\Icecat\Model\Fetcher;

// Inititialize.
$fetcher = new Fetcher(
    'Username',
    'Password',
    'Ean',
    'Language'
);

// Fetch the actual data.
$data = $fetcher->fetchBaseData();
```

Integrations
============

[](#integrations)

[Drupal module](https://www.drupal.org/project/icecat "Icecat Drupal") under active development.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 59.7% 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 ~217 days

Total

8

Last Release

1684d ago

Major Versions

1.0.0 → 2.0.0.x-dev2017-08-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/0620f4b2365909cf6bdc86788a35689579dbd59e1ba51a86c839c2da321ab90e?d=identicon)[harings\_rob](/maintainers/harings_rob)

---

Top Contributors

[![haringsrob](https://avatars.githubusercontent.com/u/866743?v=4)](https://github.com/haringsrob "haringsrob (43 commits)")[![BBrunekreeft](https://avatars.githubusercontent.com/u/9114578?v=4)](https://github.com/BBrunekreeft "BBrunekreeft (27 commits)")[![chanpete](https://avatars.githubusercontent.com/u/10811588?v=4)](https://github.com/chanpete "chanpete (2 commits)")

---

Tags

icecat

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/haringsrob-icecat/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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