Download the PHP package one-forge/rek-ai without Composer

On this page you can find all versions of the php package one-forge/rek-ai. 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 rek-ai

1_FORGE - Rek.ai TYPO3 Extension

This is the official TYPO3 extension for Rek.ai (developed in close cooperation with Rek.ai). Rek.ai is a content recommendation service that allows to easily improve your website with personalised content. Integration in your TYPO3 website can be done by every content editor that was given access to the extensions Backend Module and Content Elements.

Requirements

Dependency Version
PHP ^8.1
TYPO3 CMS ^12.4, ^13.4 or ^14.0

Features

Installation

After installation, activate the extension in the TYPO3 Extension Manager or via CLI:

Configuration

Navigate to Web > Rek.ai Configuration in the TYPO3 backend.

Script Integration

Setting Description
Load Scripts Enable to inject the Rek.ai script tag on all frontend pages
Non CSS Version When enabled, adds data-allowinlinecss="false" to the script tag to disable Rek.ai's inline CSS
Script URL Full URL to your Rek.ai script (e.g. https://static.rekai.se/xyz.js)

The script tag is only rendered when both Load Scripts is on and a valid Script URL is provided.

Autocomplete

Setting Description
Autocomplete Mode Disabled / Enabled with selector / Enabled with custom script
Autocomplete Selector CSS selector for the search input (e.g. #searchform-input), used in mode 1
Open on click Navigate to the selected autocomplete result immediately on click
Use current language Filter autocomplete results by the current page language
Number of results Number of autocomplete suggestions to show (default: 5)
Custom autocomplete script Full custom JavaScript block, used in mode 2

Content Element: Rek.ai Recommendations

Add the Rek.ai Recommendations content element (rekai_recommendations) to any page. It renders a <div class="rek-prediction"> that the Rek.ai script hydrates at runtime.

Content Element Fields

Display tab

Field Description
Show header Toggle to show/hide the recommendations header
Header text Heading displayed above recommendations (default: Discover more)
Title max length Maximum character length for recommendation titles (1–99, default: 20)
Number of hits How many recommendations to show (1–20, default: 5)
Render style Pills / List / Advanced (default: Pills)
List columns Number of columns when render style is List (1–6, default: 2)

Source tab

Field Description
Root path mode Restrict recommendations scope: none / subpages / level
Root path level Ancestor level to use as root (only when mode is level, 1–10)
Specific pages Page selector for a custom subtree (only when mode is level)
Exclude child nodes Exclude child pages from recommendation scope

Advanced tab

Field Description
Extra attributes Additional HTML data attributes added verbatim to the widget <div>

Content Element: Rek.ai Questions and Answers

Add the Rek.ai Questions and Answers content element (rekai_qna) to any page. It renders a <div class="rek-prediction" data-entitytype="rekai-qna"> that the Rek.ai script populates with Q&A results.

Content Element Fields

Field Description
Number of hits How many Q&A items to show (0 = no limit)
Branch mode Scope: none / current branch / specific pages / current page only
Specific pages Page selector for the Q&A source subtree (only when branch mode is specific pages)
Tags Comma-separated tag filter for Q&A items
Hide link if same page Do not render a link when the answer page is the current page
Hide link to answer page Always hide the link to the answer page
Disable highlighting Disable Rek.ai's keyword highlighting in answers

Extension Key & Composer Package

License

GNU General Public License v3.0 (GPLv3)


All versions of rek-ai with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
typo3/cms-core Version ^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 one-forge/rek-ai contains the following files

Loading the files please wait ...