Download the PHP package netglue/zf2-tripadvisor-module without Composer

On this page you can find all versions of the php package netglue/zf2-tripadvisor-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zf2-tripadvisor-module

ZF2 Trip Advisor Reviews Module

Build Status Coverage Status

Install

The only supported method of installation is with composer:

$ composer require netglue/zf2-tripadvisor-module

Once installed, activate the module by adding NetglueTripAdvisor to your application config and copy the config/module.config.php.dist to your autoload directory as something like tripadvisor.global.php and customise the options to suit your needs.

How it works

There is a simple scraper that loads the remote TA reviews page selected and traverses the DOM to extract the reviews from the page.

This is susceptible to breaking if Trip Advisor alter their markup

Future Plans

If I get the time, I might consider persisting the reviews so that if/when TA do alter their markup, at least we'll be able to continue to present the old reviews.

Tests

The module has a test suite you can run. phpunit has not been declared as a dev dependency so it must be installed separately if not.

$ cd path/to/vendor/zf2-tripadvisor-module
$ composer install
$ phpunit

Contributing & Reporting Bugs

Please feel free to report issues but without a pull request, I'm unlikely to be able to fix things in a timely manner. Please also include tests along with any changes.

If you're using this module, it'd be nice to know, so drop me a line on gsteel at gmail


All versions of zf2-tripadvisor-module with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
zendframework/zendframework Version 2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package netglue/zf2-tripadvisor-module contains the following files

Loading the files please wait ....