Download the PHP package acseo/sylius-ai-tools without Composer

On this page you can find all versions of the php package acseo/sylius-ai-tools. 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 sylius-ai-tools

ACSEO

Sylius AI Tools

Use AI to improve eShop experience

Installation

To integrate the Sylius AI Tools into your project, follow these steps:

Step 1: Install the Package

Install Sylius AI Tools using Composer. We recommend using stable, supported, and up-to-date versions of packages. Run the following command in your terminal:

Step 2: Register the Plugin

You need to register the plugin in your Symfony application. Open the config/bundles.php file and add the following line:

Step 3: Import Required Configuration

Next, import the required configuration by adding the service definitions to your config/packages/_sylius.yaml file. Append the following lines:

Step 4: Import Routing Configuration

To make the routes available, you need to import the routing configuration. Add the following lines to your config/routes.yaml file:

Step 5: Finalize the Installation

To complete the installation process, clear the cache and update the database schema. Execute the following command:

Step 6: Configure Twig Paths

Update your Twig configuration to include the plugin's view templates. In your config/packages/twig.yaml, add the following path configuration:

Step 7: Add Plugin Templates

Copy the plugin templates into your project's template directory. Run the following command:

Step 8: Configure the Environment

Finally, set up your environment by adding the OpenAI API key to your .env file. Open the file and add the following line:

Channel Configuration in the Back-Office (BO)

When configuring the channel in the back-office (BO), it is necessary to add:

Ensure these settings are correctly configured for optimal channel integration.

Commands

acseo:generate-product-descriptions

This command generates and updates product descriptions for all products in the system, using provided text and optional keywords.

Usage

Options:
Example

This will generate descriptions for all products in the system, using the provided text and keywords.

acseo:generate-product-descriptions-from-pictures

This command generates and updates product descriptions for all products in the system, using provided pictures (URLs or file paths) and optional keywords.

Usage

Options:
Example

This will generate descriptions for all products in the system, based on the provided images and keywords.


All versions of sylius-ai-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
sylius/sylius Version >=1.12 <1.14
openai-php/client Version ^0.10.1
symfony/http-client Version ^6.4
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 acseo/sylius-ai-tools contains the following files

Loading the files please wait ....