Download the PHP package fptcorp/recommendation without Composer

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

FPT Recommendation Module

Thank you for trying the FPT Recommendation module! This module will improve your sales significantly. More deals are facilitated when visitor are served with relevant offers and additional cross-and-upsell recommendations.

Installing and verifying the reference module

You can install the reference module in any of the following ways:

  1. By copying the code to your <your Magento install dir>/app/code/<VendorName>/<ModuleName> directory.
    This method requires some manual tasks but it easy.
  2. Using composer require.

Installing the module by copying code

Any Magento module requires a particular directory structure under <your Magento install dir>/app/code. The structure starts with:

<VendorName>/<ModuleName>

The reference module requires the following structure:

FPTCorp/Recommendation

To add the module to your Magento installation:

  1. Log in to your Magento server as a user with privileges to write to the web server docroot (typically either the root user or the web server user).
  2. Enter the following commands in the order shown:

    cd <your Magento install dir>/app/code
    mkdir -p FPTCorp/Recommendation
  3. Go to the reference module GitHub.
  4. Click Download Zip.
  5. Copy the .zip file you downloaded to your Magento server's <magento install dir>/app/code/FPTCorp/Recommendation directory.
  6. Enter the following commands in the order shown:

    unzip fptcorp_recommendation-master.zip
    mv fptcorp_recommendation-master/* .
    rm -rf fptcorp_recommendation-master
    rm -f fptcorp_recommendation-master.zip
  7. Open <your Magento install dir>/app/etc/config.php in a text editor.
  8. Add the following anywhere under: 'modules' => array (:

    'FPTCorp_Recommendation' => 1
  9. Save your changes and exit the text editor.

Installing the module using Composer

Enter the following command in the order show

    cd <your Magento install dir>
    composer require fptcorp/recommendation
    bin/magento setup:upgrade
    bin/magento cache:flush

Verifying the reference module

  1. Log in to your Magento server as a user with root privileges.
  2. Enter the following commands in the order shown to clear the Magento cache:

    cd <your Magento install dir>/var
    rm -rf cache page_cache
  3. If you're currently logged in to the Magento Admin, log out.
  4. Log in to the Magento Admin as an administrator.
  5. Click Stores > Configuration

If FPTCORP tab displays you successfully installed the reference module!

To use the module you should register with us https://dashboard.knowlead.io/signup After signup an email will be sent to you with siteId and API_key to enable the module. Go to the FPTCorp tab, enter the siteId and API_key as in the email. Save the config.

From the command line enter the following in the order show

    cd <your Magento install dir>
    bin/magento cache:flush

To see the reference module at work.

After visitor use the system for a while a list of recommended products displays. That's it! You're done!


All versions of recommendation with dependencies

PHP Build Version
Package Version
Requires php Version ~5.6.5|7.0.2|7.0.4|~7.0.6
magento/framework Version 100.1.*
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 fptcorp/recommendation contains the following files

Loading the files please wait ....