PHPackages                             dieschittigs/star-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. dieschittigs/star-scraper

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

dieschittigs/star-scraper
=========================

Aggregates star-ratings from various sources

1.0.0(8y ago)1251[1 PRs](https://github.com/DieSchittigs/star-scraper/pulls)MITPHP

Since Oct 22Pushed 5y ago2 watchersCompare

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

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Star Scraper
============

[](#star-scraper)

A PHP library by [Die Schittigs](https://www.dieschittigs.de).

What's this?
------------

[](#whats-this)

Star Scraper is built to aggregate ratings from different websites (e.g. Google Places, Facebook) into one average rating intended to be visibe on your website. This is especially useful for (local) businesses, that have reviews on Facebook *and* other platforms and want these ratings to be displayed on their homepage in an unified way. It may also be used to display those little stars besides Google search results.

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

[](#installation)

Install via [Composer](https://getcomposer.org).

```
composer require dieschittigs/star-scraper

```

Usage
-----

[](#usage)

First, do some imports and initialize StarRating

```
