Download the PHP package staempfli/magento2-builder-tool without Composer

On this page you can find all versions of the php package staempfli/magento2-builder-tool. 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 magento2-builder-tool

Magento 2 Builder tool

Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development. Codacy Badge Maintainability

Tool to automatically build Magento2 projects and sync data from remote servers.

Local environments:

CI / Build Environments:

Installation

Demo

Introduction

magento2-builder-tool is a tool to setup local environments for your Magento2 projects by executing one command. No Docker, no Vagrant needed but it is also compatible inside those virtualised setups. Database, Apache/Nginx configuration and everything else are created automatically for each project. You can even use sync mode to get server data copied locally.

This tool is also meant for CI or Build environments to automate the step of creating the artifact.

What this tool does for you:

LOCAL Environment

Only manual step is to edit your /etc/hosts. If you want to automate that too, see DnsMasq on MAC

CI / Build Environment

Setup

Config Folder

NOTE: You only need to replace parameters between <> with your corresponding values. All other placehoders like ${} or {{}} will be automatically replaced during the tool execution

Create logs folder

Custom Properties

You can customise all properties according to your needs:

LOCAL Environaments

Usage

TIPS

Local settings

If you do not want to input over and over again the properties required, you can setup your default environment parameters as follows:

  1. Create folder _conf at one level higher than your project root.

  2. Add a new file environment.properties inside that folder.

  3. Inside this file you can specify your environment properties as follows:

SSH without password

To skip entering the ssh password every time, you can use ssh-copy-id to automatically set the public-private keys on the server. Simply execute:

DnsMasq on MAC

On OS X you can even skip the manual step of editing the etc/hosts by using dnsmasq. You can configure it to automatically load all *.dev or *.lo urls (*.local does not work).

NOTE: When adding a new dnsmasq, you need to reload the dnsmasq daemon:

CI / Build Environments

Usage

Custom scripts

If you need additional scripts to build your projects, you can add them here:

You can also define targets that will be automatically executed during the build process. This tool contains customHooks that can be listened to dispatch other targets. You can set inside config/mg2-builder/project.properties the targets to be executed by these hooks:

Disclaimer

In order to use sync functionalities, n98-magenrun2 must be available on the remote server. The easiest way is to add it as part as your project dependencies:

If you install n98-magerun2 in your server in another way, be sure to configure the parameter sync.bin.n98-magerun2 accordingly:

Troubleshooting

Set null config values on magento version 2.2.x

NOTE: use version-2.2.0.patch for magento >=2.2.0 <=2.2.3 and version-2.2.4.patch for magento >=2.2.4

MySQL server has gone away

Prerequisites

ChangeLog

CHANGELOG.md

Developers

Licence

GNU General Public License, version 3 (GPLv3)

Copyright

(c) 2017 Staempfli AG


All versions of magento2-builder-tool with dependencies

PHP Build Version
Package Version
Requires phing/phing Version 2.*
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 staempfli/magento2-builder-tool contains the following files

Loading the files please wait ....