PHPackages                             level51/silverstripe-tripadvisor - 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. [API Development](/categories/api)
4. /
5. level51/silverstripe-tripadvisor

ActiveSilverstripe-module[API Development](/categories/api)

level51/silverstripe-tripadvisor
================================

Simple integration of TripAdvisor location profiles and reviews for SilverStripe.

0.1.0(10y ago)181[2 PRs](https://github.com/Level51/silverstripe-tripadvisor/pulls)PHPPHP &gt;=5.3.2

Since Aug 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Level51/silverstripe-tripadvisor)[ Packagist](https://packagist.org/packages/level51/silverstripe-tripadvisor)[ RSS](/packages/level51-silverstripe-tripadvisor/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

SilverStripe TripAdvisor Integration
====================================

[](#silverstripe-tripadvisor-integration)

This module provides a simple integration of TripAdvisor location profiles including awards, reviews, etc. Basically it is a wrapper for the *Content API* of TripAdvisor.

Official API documentation:

Maintainer
----------

[](#maintainer)

- Julian Scheuchenzuber

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

[](#installation)

```
composer require level51/silverstripe-tripadvisor

```

If you don't like composer you can just download and unpack it to the root of your SilverStripe project.

Prerequisites
-------------

[](#prerequisites)

1. Obtain a valid TripAdvisor API key at:
2. Get the ID of your location. You won't find it anywhere on the location profile's page, just check the URL.

Setup
-----

[](#setup)

1. Provide your API key and location profile ID in the "Trip Advisor" tab of systems settings section.
2. Execute the "Sync TripAdvisor profile" action. This will create one `TripAdvisorLocationProfile` and three `TripAdvisorReview` records. **Caution:** This will drop the current profile data if already loaded.
3. Go ahead and use it in your code (example snippets):

```
// Fetch location profile and output number of visits
$profile = TripAdvisorLocationProfile::current();
echo $profile->NumVisits;

// Fetch reviews and render with custom template
return TripAdvisorReview::get()->renderWith('ReviewGrid');
```

Notes
-----

[](#notes)

The logic uses the `RestfulService` class and hence does API calls via cURL. It follows the API guidelines in terms of caching so you don't have to worry about that.

If you like to set up some continuous integration you can use the `TripAdvisorRefreshTask`. Crontab in combination with the sake module could be a neat approach.

```
0 0 * * * cd /your/silverstripe/dir && sake dev/tasks/TripAdvisorRefreshTask > /dev/null 2>&1

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3924d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/441f0e8f95c17048417a33f37e35d5ffdd4c07902cbedaf7f5786f4b7c454284?d=identicon)[JZubero](/maintainers/JZubero)

---

Top Contributors

[![JZubero](https://avatars.githubusercontent.com/u/13751426?v=4)](https://github.com/JZubero "JZubero (6 commits)")

### Embed Badge

![Health badge](/badges/level51-silverstripe-tripadvisor/health.svg)

```
[![Health](https://phpackages.com/badges/level51-silverstripe-tripadvisor/health.svg)](https://phpackages.com/packages/level51-silverstripe-tripadvisor)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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