Download the PHP package woocommerce/wc-smooth-generator without Composer

On this page you can find all versions of the php package woocommerce/wc-smooth-generator. 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 wc-smooth-generator

WooCommerce Smooth Generator

A smooth products, customer and order generator using WP-CLI. Future versions will include scheduled auto generation functionality.

Installation

WooCommerce Smooth Generator requires Composer and WP-CLI to function.

  1. Clone this repository into your site's plugins folder
  2. From command line CD into the cloned repository
  3. From command run composer install and wait for the installation to complete
  4. Run wp plugin activate wc-smooth-generator to activate the plugin
  5. You now have access to a couple of new WP-CLI commands under the main wp wc generate command.

Commands

Products

Generate products based on the number of products parameter.

Generate products of the specified type. simple or variable.

Orders

Generate orders from existing products based on the number of orders parameter, customers will also be generated to mimic guest checkout.

Generate orders for the current date

Generate orders with random dates between --date-start and the current date.

Generate orders with random dates between --date-start and --date-end.

Generate orders with a specific status.

Order Attribution

Order Attribution represents the origin of data for an order. By default, random values are generated and assigned to the order. Orders with a creation date before 2024-01-09 will not have attribution metadata added, as the feature was not available in WooCommerce at that time.

Skip order attribution meta data genereation.

Coupons

Generate coupons based on the number of coupons parameter.

Generate coupons with a minimum discount amount.

Generate coupons with a maximum discount amount.

Customers

Generate customers based on the number of customers parameter.

Terms

Generate terms in the Product Categories taxonomy based on the number of terms parameter.

Generate hierarchical product categories with a maximum number of sub-levels.

Generate product categories that are all child terms of an existing product category term.

Generate terms in the Product Tags taxonomy based on the number of terms parameter.

Development

Requirements

  1. If you use Node Version Manager (nvm) you can run nvm use to ensure your current Node version is compatible.
  2. Run npm run setup to get started. This will install a pre-commit Git hook that will lint changes to PHP files before they are committed. It uses the same phpcs ruleset that's used by WooCommerce Core.

All versions of wc-smooth-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
psr/container Version 1.0.0
composer/installers Version ~1.2
fakerphp/faker Version ^1.21.0
jdenticon/jdenticon Version ^0.10.0
mbezhanov/faker-provider-collection Version ^2.0.1
symfony/deprecation-contracts Version ^2.2
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 woocommerce/wc-smooth-generator contains the following files

Loading the files please wait ....