Download the PHP package presslabs/stack-mu-plugin without Composer

On this page you can find all versions of the php package presslabs/stack-mu-plugin. 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 stack-mu-plugin

stack-mu-plugin

Bitpoke Stack must use plugin for WordPress.

It provides integration for the Bitpoke Stack functionalities with WordPress and WooCommerce, such as:

Install

Bedrock

When using bedrock, just run:

WordPress plugin

To run as WordPress classic mu-plugin, download the plugin archive from https://github.com/bitpoke/stack-mu-plugin/releases and extract it into your wp-content/mu-plugins folder.

Then you need to activate the mu-plugin, by copying stack-mu-plugin.php from wp-content/mu-plugins/stakc-mu-plugin into your wp-content/mu-plugins folder.

WordPress Object Cache

In order to use the custom object cache, you'll need to copy it into the root of WP_CONTENT_DIR (usually wp-content).

Enable and use a CDN for static files

All that is needed is setting the CDN_HOST variable in wp-config.php and of course a CNAME record in your DNS manager pointing to your CDN provider.

For example, we might use in our config file:

Development

Clone this repository, copy .env.example to .env and edit it accordingly.

To install dependencies just run

Development server

To start a local development server you need wp-cli installed. To start the development server, just run

Testing

Running plugin tests:

Running integration tests:


All versions of stack-mu-plugin with dependencies

PHP Build Version
Package Version
Requires vlucas/phpdotenv Version >=4.1.8 <6
oscarotero/env Version ^2.1
composer/installers Version ~1.9
google/cloud-storage Version ^1.21
google/auth Version ^1.9.0
promphp/prometheus_client_php Version ^2.1
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 presslabs/stack-mu-plugin contains the following files

Loading the files please wait ....