Download the PHP package yvoronoy/m2install without Composer

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

Magento 2 Bash Install/Restore Script

Docker Image CI GitHub closed pull requests GitHub closed issues

This script is designed to simplify the installation process of Magento 2 and rapid deployment of merchant code and DB dumps.

m2install can be a helpful tool for support teams and teams who often need to install or deploy merchant backups or dumps.

The main purpose of this script is run m2install, wait a bit and get a working magento instance. Don't waste time on routine operations.

If you have any issues please report them to https://github.com/yvoronoy/m2install/issues

What can m2install exactly do?

Installation

Download latest version by curl

You can install by composer

In case you are using bash completion you can download completion for this script.

Usage

How to deploy backup/support dumps

In order to deploy the customer dumps you need:

How to install Magento 2 using GIT

To install Magento 2 from git repository run m2install with --source git param

How to install Magento 2 using Composer

To install Magento 2 from composer run m2install with --source composer param

How to Install Magento 2 with Sample Data

How to Install Magento 2 with B2B extension

With wizard

With CLI flags

Remember that you have to install Enterprise Edition to be able to install B2B extension

Wizard

m2install shows you wizard on first run and prompts to save entered values to config file.

How to use configuration files

The config file allows you to store params for DB and URL. Example of config file

When you first run m2install script, it shows wizard which prompts to save the config file to your home directory.

m2install uses fallback mechanism to find config files recursively from home directory to current directory. For example if you want to install magento to directory ~/www/m2/ga/magento2ee

you can override config file which is placed in your home directory.

How to use ssh tunnels for remote DB connection

Make sure that you have correct parameters in .m2install.conf file Parameters example:

As a result you will get:

All created ssh tunnels pids located in file kill_tunnel.sh in Magento root folder (or pub)

To run you will need only code dump file (Example code.tar.gz).

Make attention that in --remote-db databasename first part before "" is database user name

Make attention that in bootstrap added SECURE and UNSECURE BASE_URL to prevent DB modification


All versions of m2install 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 yvoronoy/m2install contains the following files

Loading the files please wait ...