PHPackages                             aon2003/laravel-trustpilot - 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. aon2003/laravel-trustpilot

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

aon2003/laravel-trustpilot
==========================

TrustPilot scraper for Laravel applications.

1.0.0(3y ago)8152[5 PRs](https://github.com/aon4o/laravel-trustpilot/pulls)MITPHPPHP ^8.1CI passing

Since Jan 27Pushed 7mo ago3 watchersCompare

[ Source](https://github.com/aon4o/laravel-trustpilot)[ Packagist](https://packagist.org/packages/aon2003/laravel-trustpilot)[ Docs](https://github.com/aon2003/laravel-trustpilot)[ RSS](/packages/aon2003-laravel-trustpilot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (7)Used By (0)

TrustPilot scraper for Laravel applications.
============================================

[](#trustpilot-scraper-for-laravel-applications)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5cf34b00be5242c56cfd47ce6a8c3cda4ec4ecf927bb52d12094ac2f506ec444/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616f6e323030332f6c61726176656c2d747275737470696c6f742e7376673f6c6f676f3d7061636b6167697374267374796c653d666c61742d737175617265)](https://packagist.org/packages/aon2003/laravel-trustpilot)[![GitHub Tests Action Status](https://camo.githubusercontent.com/6f1530973e773237d8e9fe9dcf6ee7ed07cd6632d3a48c3099bdccc7b4f2dd87/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616f6e323030332f6c61726176656c2d747275737470696c6f742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/aon2003/laravel-trustpilot/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/bff4d373498c528f77250af2b9e9a7c8abac189bf476e8ef512feb94536d0a7a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616f6e323030332f6c61726176656c2d747275737470696c6f742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/aon2003/laravel-trustpilot/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/56b3041db13d5d7be01c7d08341b08bfe437cfd9e83c5d838782e15ead77a1c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616f6e323030332f6c61726176656c2d747275737470696c6f742e7376673f6c6f676f3d7061636b6167697374267374796c653d666c61742d737175617265)](https://packagist.org/packages/aon2003/laravel-trustpilot)[![GitHub Repo stars](https://camo.githubusercontent.com/1f069df859647d61d1b1c0fa583a682c2387ae4c7b5043f3efa68f07df373b36/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f616f6e323030332f6c61726176656c2d747275737470696c6f743f6c6f676f3d676974687562267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/1f069df859647d61d1b1c0fa583a682c2387ae4c7b5043f3efa68f07df373b36/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f616f6e323030332f6c61726176656c2d747275737470696c6f743f6c6f676f3d676974687562267374796c653d666c61742d737175617265)[![GitHub forks](https://camo.githubusercontent.com/75eafeb14c55b93c1e13af9007a91a97315180906dce9f86da313b2e6dcb1320/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f616f6e323030332f6c61726176656c2d747275737470696c6f743f6c6f676f3d676974687562267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/75eafeb14c55b93c1e13af9007a91a97315180906dce9f86da313b2e6dcb1320/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f616f6e323030332f6c61726176656c2d747275737470696c6f743f6c6f676f3d676974687562267374796c653d666c61742d737175617265)[![GitHub](https://camo.githubusercontent.com/d8af5eae3bffdd1a8bb07e6b3b59392dfd559add2db86c087f0282847a46edd5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616f6e323030332f6c61726176656c2d747275737470696c6f743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/d8af5eae3bffdd1a8bb07e6b3b59392dfd559add2db86c087f0282847a46edd5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616f6e323030332f6c61726176656c2d747275737470696c6f743f7374796c653d666c61742d737175617265)

This is a simple Laravel package for scraping TrustPilot scores and reviews.

Support us
----------

[](#support-us)

[![Buy Me A Coffee](https://camo.githubusercontent.com/794175f6b50ef8041a39803ee20b99a52ba3d742e482c4a42d7270176eea3816/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f64656661756c742d70696e6b2e706e67)](https://www.buymeacoffee.com/aon4o)

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

[](#installation)

You can install the package via composer:

```
composer require aon2003/laravel-trustpilot
```

You can publish the config file with:

```
php artisan vendor:publish --tag="trustpilot-config"
```

This is the contents of the published config file:

```
return [
    /*
     |--------------------------------------------------------------------------
     | Default Domain
     |--------------------------------------------------------------------------
     |
     | This is the domain for which the reviews will be scraped by default.
     | Supports subdomains.
     */
    'domain' => 'www.example.com',

    /*
     |--------------------------------------------------------------------------
     | Default Language
     |--------------------------------------------------------------------------
     |
     | This is the language in which the reviews will be scraped by default.
     |
     | Supported values: "all", ISO 639-1 language codes (ex.: "en", "ru")
     |
     */
    'language' => 'all',
];
```

Usage
-----

[](#usage)

```
$score = LaravelTrustpilot::getScore($domain); // float
$reviews = LaravelTrustpilot::getReviews($domain, $language); // array
```

If you don't provide a domain and language the values from the config file will be used.

Commands
--------

[](#commands)

Additionally, there are two commands that can be used for testing purposes.

### trustpilot:score

[](#trustpilotscore)

```
Description:
  Gets the TrustScore of a given domain and outputs it to the console.

Usage:
  trustpilot:score []

Arguments:
  domain                The domain for which to get the TrustScore.
```

### trustpilot:reviews

[](#trustpilotreviews)

```
Description:
  Gets the reviews of a given domain and outputs them to the console.

Usage:
  trustpilot:reviews [ []]

Arguments:
  domain                The domain for which to get the TrustPilot reviews.
  language              The language in which to get the TrustPilot reviews.
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

If you want to contribute, we would be pleased to see your pull requests.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [aon4o](https://github.com/aon2003)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance45

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

1201d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/927acab553d76e07d6d2e2081b7eb6bea657b9550901a036f647b6a7f5af5c66?d=identicon)[aon4o](/maintainers/aon4o)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![aon4o](https://avatars.githubusercontent.com/u/48474870?v=4)](https://github.com/aon4o "aon4o (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")[![aon2003](https://avatars.githubusercontent.com/u/154248886?v=4)](https://github.com/aon2003 "aon2003 (1 commits)")[![LordPotato9](https://avatars.githubusercontent.com/u/106743213?v=4)](https://github.com/LordPotato9 "LordPotato9 (1 commits)")

---

Tags

laravelphptrustpilotlaravelaon2003laravel-trustpilot

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/aon2003-laravel-trustpilot/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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