Download the PHP package boxblinkracer/shopware-ai-demodata without Composer

On this page you can find all versions of the php package boxblinkracer/shopware-ai-demodata. 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 shopware-ai-demodata

Shopware 6 AI Demo Data Plugin

Build Status GitHub release (latest by date) GitHub commits since latest release (by date) Packagist Downloads

This plugin is designed to generate demo data for Shopware 6 based on artificial intelligence (AI) technology. It allows you to quickly populate your Shopware 6 shop with sample data using AI-generated product information.

Installation

ZIP Files

You can download the stable ZIP file releases from Github. Just download the ZIP file and install it in the Shopware administration.

Composer Installation

You can install the plugin using composer. Just navigate to your Shopware 6 project's root directory and run the following command:

Manual Installation

Clone this repository to your Shopware 6 project's custom/plugins directory.

Navigate to your Shopware 6 project's root directory and run the following command to install the plugin dependencies:

Now just install the plugin in the Shopware 6 administration panel and activate it or by using this CLI command.

Configuration

Log in to your Shopware 6 administration panel and navigate to Settings > System > Plugins.

Search for "AI Demo Data" in the plugin list and navigate to the plugin's configuration page and enter your OpenAI API key. This key is required for the AI-generated demo data generation process.

You can also provide your API key using a CLI command of Shopware:

Usage

Once the plugin is activated and configured with your OpenAI API key, you can use the command-line interface (CLI) to generate demo data.

To generate demo data, open your terminal, navigate to your Shopware 6 project's root directory, and run the following commands.

Generate Products

Feature Argument Description
Keywords --keywords Specifies the keywords or topics related to the desired demo data. You can play around with these values to generate different demo data and improve your results
Count --count Indicates the number of demo data entries to generate (default: 1)
Category --category The optional name of the category if you would like to automatically assign the generated demo data to a category in the Storefront.
Sales Channel --saleschannel If you provide a category, you can also provide the sales channel name in case you have multiple ones.
Images --images Indicates whether the generated demo data should contain images (default: plugin-configuration)
Images Size --images-size Specifies a size for the images of allowed OpenAI sizes like 1024x1024, 512x512 (default: plugin-configuration)

After running the command, the plugin will use the specified keywords and AI technology to generate demo data based on your Shopware 6 shop's configured product structure.

Generate Media Images

Feature Argument Description
Keywords --keywords Specifies the keywords or topics related to the desired demo data. You can play around with these values to generate different demo data and improve your results
Count --count Indicates the number of demo data entries to generate (default: 1)
Size --size Specifies a size for the images of allowed OpenAI sizes like 1024x1024, 512x512 (default: plugin-configuration)

Please note that the generated demo data will be based on AI predictions and may not reflect actual product information. It is recommended to review and adjust the generated data before using it in a production environment.

Contribution

Contributions are always welcome! Please create a pull request to contribute to this project.

You can simply start a development environment with Docker. Just open the devops folder and run the following command:

After a few seconds your development environment should be up and running. You only need to provide your OpenAI API key and that's it.


All versions of shopware-ai-demodata with dependencies

PHP Build Version
Package Version
Requires php Version >= 8.1
orhanerday/open-ai Version ^5.1
ext-curl Version *
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 boxblinkracer/shopware-ai-demodata contains the following files

Loading the files please wait ....