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.1(2d ago)1747.3k↑158.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 today

READMEChangelog (7)Dependencies (8)Versions (11)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

47

↑

FairBetter than 93% of packages

Maintenance55

Moderate activity, may be stable

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 ~406 days

Recently: every ~648 days

Total

9

Last Release

2d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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