Download the PHP package bernskioldmedia/helm-wp without Composer

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

Helm WP

Helm is Bernskiold Media's WordPress development framework. It's meant to be loaded as a Composer dev depenency and proves a set of tools to help you develop WordPress themes and plugins. Helm is heavily inspired by/a WordPress adapted fork of Laravel Sail.

Installation

To install, your project must be using composer. Require the package to your project:

After installing, place a docker-compose.yml file in the root of your project. You can use the following as a starting point:

Running helm

Helm ships with its own helm command. This is a wrapper around the docker-compose command that makes it easier to run commands inside the container.

Adapt the path in the command to match your project structure and where composer packages are installed in your project, if you have customized your vendor folder.

For more information on the helm command, run ./vendor/bin/helm help.

Creating an alias command

This alias enables you to just type helm to reach our Helm WP environment instead of having to always type the full path to the vendor/bin directory.

Starting the container

To start the container, run:

Stopping the container

To stop the container, run:

Running commands inside the container

Helm supports running commands from within the container. This is useful for running Composer commands, WP CLI commands and more.

Using a different PHP version

Helm ships with support for PHP versions from 7.4 to 8.2, although we recommend not using 7.4 for anything new as it has been officially deprecated.

To use a different PHP version, change the context in the wordpress.test service to point to the correct runtime folder. You should also change the image to match the runtime folder name.

For example, to use PHP 8.1, change it to:

The available runtimes are:

Running Helm Migrate

Helm ships with a helper helm-migrate command to help migrate a production database to the local help environment.

It requires a wp-cli.yml file in the root of your project. You can use the following as a starting point:

To migrate the database, run:

For more information on the helm-migrate command, run ./vendor/bin/helm-migrate help.

WordPress Multisite Support

Helm Migrate supports WordPress Multisite out of the box. To migrate the entire environment you only need to run the run command as above. However, sometimes you only want to migrate one or a few sites in a large network.

To do this, you use the selection command along with the envrionment name. It will then ask you for the site IDs.


All versions of helm-wp 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 bernskioldmedia/helm-wp contains the following files

Loading the files please wait ....