Download the PHP package reevoo/reevoomark-php-api without Composer

On this page you can find all versions of the php package reevoo/reevoomark-php-api. 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 reevoomark-php-api

reevoomark-php-api

Build Status

Description

The reevoomark-php-api is a PHP tag library for Reevoo Ratings & Reviews customers who want to quickly and easily integrate Reevoo content in to their sites server-side.

Other Languages

Tag libraries are also available for .NET and Java.

Features

Support

For Reevoo Ratings & Reviews customers, support can be obtained by emailing [email protected].

There is also a bug tracker available.

Installation

Get Composer from here and install it.

Add the reevoo tag lib to your composer.json like so:

and then do:

Implementation

Require the PHP library (make sure you use the correct path to the reevoo_mark.php file) and create new instance of ReevooMark class with your TRKREF and path to your cache directory (or false if you do not want to use cache) as a contructor attributes:

ReevooMark supports multiple retailers content on the same page, it such case you can specify multiple TRKREFs in the constructor:

To include the relevant CSS call the method inside section of your page:

To include the relevant JavaScript call the method before the closing tag your page:

Alternate Implementation

The standard implementation calls echo internally so is less flexible if you want to use the data in contexts other than your pages.

Alternatively you may use the ReevooMarkApi class that works in a similar way to ReevooMark but returns values directly eg:

Standard Badges

Product Badge

To render "product badges" you can use any of the examples below. The is compulsory but and are optional. Specify only if you are using multiple TRKREFs in constructor.

Conversations Badge

To render "conversations badges" you can use any of the examples below. The is compulsory but and are optional. Specify only if you are using multiple TRKREFs in constructor.

Series Badges

Product Badges

To render "product series badges" you can use any of the examples below. The is compulsory and should be set to the series id. The and are optional. Specify only if you are using multiple TRKREFs in constructor.

Conversations Badges

To render "conversation series badges" you can use any of the examples below. The is compulsory and should be set to the series id. The and are optional. Specify only if you are using multiple TRKREFs in constructor.

Overall Service Rating Badges

To render "Overall Service Rating badges" you can use any of the examples below. The and are optional. Specify only if you are using multiple TRKREFs in constructor.

Customer Service Rating Badges

To render "Customer Service Rating badges" you can use any of the examples below. The and are optional. Specify only if you are using multiple TRKREFs in constructor.

Delivery Rating Badges

To render "Delivery Rating badges" you can use any of the examples below. The and are optional. Specify only if you are using multiple TRKREFs in constructor.

Embedded Product Review Content

To render "embedded review content" you can use any of the examples below. The attribute is compulsory but , , and are optional. Any combination of the optional attributes is possible. Specify only if you are using multiple TRKREFs in constructor.

If you set the attribute to true, the embedded reviews will show pagination links.

If no reviews are available we will display default message in language specified by your . If you would like to specify your own message you can pass attribute with value false and use return value of the method that is false in this case.

Price Offers Widget

To render "price offers" you can use the example below. Please provide the attribute. The attribute is only compulsory if you are using multiple TRKREFs in constructor.

If there are no offers to display you can display your own custom message as in the example below:

Embedded Customer Experience Review Content

To render "embedded customer experience review content" you can use any of the examples below. The , , and a attributes are optional. Any combination of the optional attributes is possible. Specify only if you are using multiple TRKREFs in constructor.

If you set the attribute to true, the embedded reviews will show pagination links.

If no reviews are available we will display default message in language specified by your . If you would like to specify your own message you can pass attribute with value false and use return value of the method that is false in this case.

Embedded Conversation Content

To render "embedded conversations content" you can use any of the examples below. The attribute is compulsory but and are optional. Any combination of the optional attributes is possible. Specify only if you are using multiple TRKREFs in constructor.

If no conversations are available we will display default message in language specified by your . If you would like to specify your own message you can pass attribute with value false and use return value of the method that is false in this case.

Tracking

If you display the reviews in a tabbed display, or otherwise require visitors to your site to click an element before seeing the embedded reviews, add the following onclick attribute to track the clickthroughs:

If your trkref value is for example "REV" you would add:

If your trkref value is for example "PIU" you would add:

See how in examples above you need to put your trkref value as a suffix to the part. Also remember to replace by the sku of the actual product.

Purchase Tracking

If your site includes online shopping functionality you can use method on your "Order Confirmation Page".

All this tracking information will be available to you on your Reevoo Analytics account.

Propensity to Buy Tracking

This type of tracking is used as a substitute of purchase tracking for retailers that do not offer online purchase in their stores and therefore do not have an order confirmation page.

These retailers can use method which can be added to any page they wish on the site.

All this tracking information will be available to you on your Google Analytics account.

More examples

Click here for a full page example of implementation in PHP.

License

This software is released under the MIT license. Only certified Reevoo partners are licensed to display Reevoo content on their sites. Contact [email protected] for more information.

(The MIT License)

Copyright (c) 2008 - 2014:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


All versions of reevoomark-php-api with dependencies

PHP Build Version
Package Version
No informations.
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 reevoo/reevoomark-php-api contains the following files

Loading the files please wait ....