Download the PHP package skyverge/wc-plugin-framework-updater without Composer

On this page you can find all versions of the php package skyverge/wc-plugin-framework-updater. 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-plugin-framework-updater

WC Plugin Framework Updater

Updater script for the SkyVerge WooCommerce plugin framework.

This script helps facilitate updating the framework package, which involves replacing class namespaces throughout the code base.

Installation

Include this package as a dev dependency:

Usage

Running manually

  1. First update the framework itself to your desired version:

  2. Then run the migration script:

Note: You will need to have the jq utility installed on your local machine to run update.sh.

As a composer script

You can set this up to run automatically after Composer packages are updated. Update your composer.json file like so:

Then all you have to do is update the framework:

The updater script will then run automatically.

NOTE: It will run after any package is updated, but will exit if it detects that the framework version has not changed.

Replacements made

The script does the following:

  1. Parses the old version from your declared FRAMEWORK_VERSION constant.
  2. Parses the new version from the framework's composer.json file (which is why you must update the framework itself first!).
  3. Replaces all instances of v1_2_3 (where 1_2_3 is the old version) with v_4_5_6 (where 4_5_6 is the new version). This change is made in PHP and JS files only.
    • Excludes node_modules/
    • Excludes vendor/
  4. Updates the FRAMEWORK_VERSION constant number.

Working directory

By default running the script will modify files in the current working directory. If you need to specify a different directory then pass it in as the first argument. Examples:

Absolute path:

Relative path:


All versions of wc-plugin-framework-updater with dependencies

PHP Build Version
Package Version
No informations.
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 skyverge/wc-plugin-framework-updater contains the following files

Loading the files please wait ...