All Projects → extdn → installer-m2

extdn / installer-m2

Licence: MIT License
Universal extension installer for Magento 2, see introductory blog post here

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to installer-m2

MultipleLayeredNavigation-M2
Magento 2 Multiple Layered Navigation extension.
Stars: ✭ 20 (-25.93%)
Mutual labels:  magento, magento2
magento2
Vue Storefront 2 integration for Magento 2
Stars: ✭ 94 (+248.15%)
Mutual labels:  magento, magento2
magento2-showoutofstockprice
This Magento2 Module adds prices and the add-to-cart button to out-of-stock configurable products.
Stars: ✭ 22 (-18.52%)
Mutual labels:  magento, magento2
magento2-disable-frontend
Magento 2 module to disable frontend
Stars: ✭ 29 (+7.41%)
Mutual labels:  magento, magento2
magento2-customer-account-links-manager
Customer Account Links Manager allows you to quickly and easily remove customer account links from Magento 2 customer dashboard.
Stars: ✭ 40 (+48.15%)
Mutual labels:  magento, magento2
magento2-prometheus-exporter
Simple Magento 2 Prometheus Exporter.
Stars: ✭ 40 (+48.15%)
Mutual labels:  magento, magento2
app-search-magento
A first party module to integrate Elastic App Search in Magento 2.
Stars: ✭ 25 (-7.41%)
Mutual labels:  magento, magento2
module-lazyload
magefan.com/magento-2-image-lazy-load-extension
Stars: ✭ 47 (+74.07%)
Mutual labels:  magento, magento2
blog
MageVision Blog
Stars: ✭ 23 (-14.81%)
Mutual labels:  magento, magento2
rebuild-urlrewrite
Rebuild Url Rewrite for magento 2
Stars: ✭ 26 (-3.7%)
Mutual labels:  magento, magento2
magento2-mandrill
Mandrill integration for Magento 2.
Stars: ✭ 35 (+29.63%)
Mutual labels:  magento, magento2
laragento
Collection of the Laravel/Eloquent Model classes that allows you to get data directly from a Magento 2 database.
Stars: ✭ 79 (+192.59%)
Mutual labels:  magento, magento2
m2install
Magento 2 Bash Install/Restore Script
Stars: ✭ 79 (+192.59%)
Mutual labels:  magento, magento2
magento2-catalog-lazy-load
Improve the load time of your Magento 2 categories pages by loading your images on demand with our Lazy Load Extension
Stars: ✭ 56 (+107.41%)
Mutual labels:  magento, magento2
magento2-sample-imageuploader
A Magento 2 sample module demonstrating how to upload an image file within a grid and form UI Component.
Stars: ✭ 27 (+0%)
Mutual labels:  magento, magento2
vscode-magento-wizard
Helps develop Magento 2 extensions using VSCode
Stars: ✭ 22 (-18.52%)
Mutual labels:  magento, magento2
Dev-Tools-Magento-2-Module
A collection of utilities meant to improve the experience of developing modules for Magento without breaking existing functionality.
Stars: ✭ 18 (-33.33%)
Mutual labels:  magento, magento2
nosto-magento2
marketplace.magento.com/nosto-module-nostotagging.html
Stars: ✭ 19 (-29.63%)
Mutual labels:  magento, magento2
LargeConfigProducts
Large Configurable Products workaround for Magento 2
Stars: ✭ 83 (+207.41%)
Mutual labels:  magento, magento2
Magento-Quickorder
Magento Quickorder module, enables bulk order creation by inputting SKUs & quantities.
Stars: ✭ 30 (+11.11%)
Mutual labels:  magento, magento2

ExtDN Installer for Magento 2 modules

Installer in Action

The installation of extensions for Magento 2 has a few scenarios to cover depending on your starting position (Magento mode being the most influential). A typical installation routine includes 5 or more steps.

The ExtDN installer aims to bring down the installation steps required to just 1 covering a wide range of extension sources and Magento installs. The installer starts with a range of checks to confirm that the installation is likely to succeed:

List of checks

  • Installation is into a Magento 2 instance
  • Files are writable by the current user
  • Installation is run by the current user
  • No outstanding Composer actions
  • Valid project composer.json
  • No outstanding Module installation
  • Confirmation for installation in production mode instances

Should I use this?

Do you have an existing deployment or development process for M2 extension installations? If yes you likely do not benefit from this installer, if no please read on.

How to use

Option 1 - Oneliner

This option is likely provided by an ExtDN member and allows the installation of your extension via just 1 command. Below are some examples for this.

Oneliner Installation from packagist or Marketplace

(essentially all previously pre-configured composer repositories)

sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/master/bin/oneliner.sh)" -- install fooman/emailattachments-m2:^3.0

Oneliner Installation from Github

sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/master/bin/oneliner.sh)"  -- --template=github --repo-url=https://github.com/fooman/emailattachments-m2.git install fooman/emailattachments-m2:^3.0 

Oneliner Installation from Fooman Repo

sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/master/bin/oneliner.sh)"  -- --template=fooman --repo-url=https://customer-repos.fooman.co.nz/URL-PRIVATE_TOKEN install fooman/emailattachments-m2:^3.0 

Option 2 - Phar

Download and save the ExtDN_Installer. Ensure it is executable with chmod +x extdn_installer.phar.

Phar Installation from packagist or Marketplace

(essentially all previously pre-configured composer repositories)

./extdn_installer.phar -- install fooman/emailattachments-m2:^3.0

Phar Installation from Github

./extdn_installer.phar --template=github --repo-url=https://github.com/fooman/emailattachments-m2.git -- install fooman/emailattachments-m2:^3.0 

Phar Installation from Fooman Repo

./extdn_installer.phar --template=fooman --repo-url=https://customer-repos.fooman.co.nz/URL-PRIVATE_TOKEN -- install fooman/emailattachments-m2:^3.0 

Vendor agnostic

The installer is open to a wide range of sources to install from and is not limited to any specific vendor (nor is ExtDN membership needed). Your package could be available via packagist.org, Marketplace (repo.magento.com) or Github. Further it will work for any other vendor that supplies their packages via a composer repository url. Simply supply your vendor name in the --template argument and provide the repository url via --repo-url. If your installation is not covered feel free to open a PR that provides a new template.

Limitations

The installer compares the list of modules before and after installing the extension code to determine which Magento module(s) to enable. This does not work if the just installed extension was previously installed and is still present in the app/etc/config.php file as disabled. The error in this case would be "No new modules detected."

If installation is performed in production mode and an error is encountered the site will remain in developer mode.

No Windows support - see #5

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].