Download the PHP package bm1/provenexpert without Composer

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

ProvenExpert Google stars for TYPO3 (server-side)

Renders the ProvenExpert rating – the "Google stars" rich snippet – on the server. The visitor's browser never contacts ProvenExpert, so the extension loads no third-party JavaScript, sets no cookies and writes nothing to sessionStorage.

ProvenExpert offers the snippet as a JavaScript and as a PHP script. The JavaScript variant runs in the visitor's browser and writes to sessionStorage, which usually puts it behind a consent banner – where most visitors and search engines never get to see the rating. This extension is the PHP way, wrapped in proper TYPO3 plumbing: caching, backend configuration, content element.

Full manual: docs.typo3.org/p/bm1/provenexpert/main/en-us · TER entry: extensions.typo3.org/extension/bm1_provenexpert

Requirements

TYPO3 10.4 · 11.5 · 12.4 · 13.4 · 14
PHP 7.4 – 8.4
ProvenExpert plan with API access (credentials under Reputation boost › Google stars › PHP scripts)

Installation

Then enter the API ID and API key, either in the extension configuration (Admin Tools › Settings › Extension Configuration › bm1_provenexpert) or per site (see below).

Configuration

Setting Meaning
apiId, apiKey ProvenExpert API credentials
cacheLifetime how long a response is reused (default 3600 s)
timeout how long to wait for the API (default 5 s)
autoInsert place the rating before </body> on every page, default on
ratingStyle layout of the visible rating, see below
strokeColor, fillColor, fontColor colour overrides for the stars, exactly like the official PHP script

Layout

ProvenExpert always returns the layout selected in the account under Google stars › Display of the rich snippet; its API offers no parameter for it. The extension therefore builds the visible output itself, from the ratingValue and reviewCount fields of the same API response – a route ProvenExpert explicitly allows. The JSON-LD block is always taken over from ProvenExpert unchanged, so the structured data stays exactly as intended.

ratingStyle Output
starsInline (default) stars next to "N reviews on ProvenExpert.com"
stars stars above the review count
text "Company has 4.67 out of 5 stars" above the review count
textInline both in one line, separated by a pipe
account untouched markup from ProvenExpert, i.e. whatever the account is set to

Per site

The same keys can be set per site below settings.bm1_provenexpert, which takes precedence over the extension configuration:

On TYPO3 v13 and above you can also add the shipped site set bm1/provenexpert, which makes the settings editable in the backend.

Keeping credentials out of the repository

Any string setting may hold a placeholder such as %env(PROVENEXPERT_API_KEY)%, which is resolved from the server environment. In site YAML files TYPO3 resolves such placeholders on its own (since v10).

Usage

Install, enter the credentials – done. The rating is placed before </body> on every page automatically, centred, without any TypoScript.

Content element

The content element ProvenExpert rating shows either of two things:

The ProvenExpert widget type bar is deliberately not offered: its API response is a <script> tag pointing at ProvenExpert, which would require consent again. Should such markup ever appear in a response, the extension strips it and writes a warning to the log.

TypoScript

Add the static template ProvenExpert (server-side) to your root template:

Fluid

Notes

What is sent where

Only the web server talks to ProvenExpert. The visitor's browser loads nothing from ProvenExpert: no script, no image, no font - the seal image is copied to your server and served from there. No cookies and no sessionStorage entries are created, and no visitor data (IP address, user agent, …) reaches ProvenExpert. The rating is therefore rendered for every visitor and for search engines, without any interaction.

Rate this extension

This extension is free. If it helps you, please rate it on RatingStar: ratingstar.de/t/bm1 · more information

License

GPL-2.0-or-later


All versions of provenexpert with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
typo3/cms-core Version ^10.4 || ^11.5 || ^12.4 || ^13.4 || ^14.0
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 bm1/provenexpert contains the following files

Loading the files please wait ...