Download the PHP package avelpress/avelpress-cli without Composer

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

AvelPress CLI

Command Line Interface for projects based on the AvelPress framework.

Installation

Global Installation

You can install avelpress-cli globally using Composer:

After that, the avel command will be available globally (make sure your Composer global bin directory is in your PATH).

Local (per-project) Installation

Add to your project:

And run via vendor/bin:

Or, if using the project binary:

Available Commands

See all options with:

Example: Build Usage

Requirements

Releases

avel release publishes a new version and repoints every store download at it: it builds the package, uploads it to the WordPress media library and rewrites the download URL of every product, variable product and variation that serves this plugin — in every language — while keeping each download id untouched, so purchases already made keep working.

Options: --dry-run, --bump=major|minor|patch, --set-version=x.y.z, --skip-build, --prune, --force, --site.

Credentials

Copy .env.example to .env in the project, or to ~/.avelpress/.env to share one set of credentials across every plugin. Real environment variables take precedence over the project file, which takes precedence over the global one. AVELPRESS_WP_USER plus AVELPRESS_WP_APP_PASSWORD (a WordPress application password) is enough; a WooCommerce key can be used for the store routes instead.

The update manifest

When AVELPRESS_RELEASE_WEBHOOK and AVELPRESS_RELEASE_TOKEN are set, the release also posts a manifest (version, package URL, requirements and the changelog entry of the version) to that endpoint, so plugins that update themselves and the store can never disagree. Without them the release only updates the store.

The package is then published twice, because the two audiences need opposite things. The store copy goes to WooCommerce's protected folder, where a direct request answers 403 and the file is only served through a purchase. The manifest instead points at a public copy, since the customer's WordPress fetches that URL with no credentials at all when it installs an update.

Project configuration

Everything is optional — a plugin with no release block uses its plugin_id as the file name it owns and the defaults below.

Before the first release

WooCommerce only accepts download files stored in an approved directory. Add the uploads folder root once, in WooCommerce > Settings > Products > Downloadable products > Approved directories:

Using the root covers every future month; approving one folder per month means the first release of each month fails.

What the release refuses to do


All versions of avelpress-cli with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^5.4
symfony/dotenv Version ^5.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 avelpress/avelpress-cli contains the following files

Loading the files please wait ...