All Projects â†’ punkstar â†’ Mageconfigsync

punkstar / Mageconfigsync

Licence: mit
🔧 A utility to aid the storing of Magento configuration in version control

Labels

Projects that are alternatives of or similar to Mageconfigsync

Fastly Magento2
Module for integrating Fastly CDN with Magento 2 installations
Stars: ✭ 88 (-33.33%)
Mutual labels:  magento
N98 Magerun
The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.
Stars: ✭ 1,430 (+983.33%)
Mutual labels:  magento
Module Profiler
Magento 2 Profiler
Stars: ✭ 116 (-12.12%)
Mutual labels:  magento
Ampersand Magento2 Upgrade Patch Helper
Helper script to aid upgrading magento 2 websites by detecting overrides
Stars: ✭ 98 (-25.76%)
Mutual labels:  magento
Magentoextensions
Magento Extension Directory 1> Themes Switcher 2> Default Shipping On Cart 3> Upshare 4> Product Image Optimizer 5> Idealo Product Export 6> magento Google shopping Api v2 7>Google feed and facebook feed 8> Pdf upload in magento media wysiwyg 9> Product Image optimizer. If You want magento 2 extensions 1>Advance Layred Navigation(including SEO URL, Rating as filter, slider filter, Ajax Filtering), 2>Attribute Pages with SEO and Custom URL key(you can do all kind of seo on those pages with logos) 3>Improved Sorting (Enable users to view products by options as 'Best Sellers', 'Top Rated', 'Most Viewed' etc.) 4>Custom Stock Status(Add statuses to products automatically or manually, Create multiple custom stock statuses, Upload special icons for stock statuses) 5>Product Labels(Using this extension you can add any label to your produts on product page or category page) 6>Custom Order Number(Using this extension you can customize order, invoice, shippment, credit memo Number) 7>All type of file upload in Wysiwyg(pdf, zip, doc etc file upload in wysiwyg), 8>Infinite Scroll, 9>Multiple FlatRate Shipping, 10>Open Api,Google api for currency Rates, 11>Product Attribute's Description, 12>Store and Currency switcher according to Ip address Please Contact me and All those extensions are paid with installation and configuration are free support.
Stars: ✭ 106 (-19.7%)
Mutual labels:  magento
Magento2 Fixtures
Fixture library for Magento 2 integration tests by @schmengler (@integer-net)
Stars: ✭ 110 (-16.67%)
Mutual labels:  magento
Ecomdev layoutcompiler
Layout Compiler for Magento
Stars: ✭ 87 (-34.09%)
Mutual labels:  magento
Magento Infinitescroll
Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.
Stars: ✭ 123 (-6.82%)
Mutual labels:  magento
Correios
Módulo de frete para Magento com tracking
Stars: ✭ 106 (-19.7%)
Mutual labels:  magento
Mc Magento2
MailChimp for Magento 2. Syncs all data (subscriber, customers, orders, products) and enables marketing automation with email campaigns, automations, ads, postcards and more.
Stars: ✭ 115 (-12.88%)
Mutual labels:  magento
Magento 2 Seo
Magento 2 SEO extension will do perfectly for your better SEO. This is a bundle of outstanding features that are auto-active when you install it from Mageplaza without any code modifications. It is also friendly with your store if you need to insert meta keywords and meta descriptions for your product.
Stars: ✭ 99 (-25%)
Mutual labels:  magento
Firegento Pdf
Generates nicer and configurable PDF for invoices, creditmemos and shippings in Magento
Stars: ✭ 102 (-22.73%)
Mutual labels:  magento
Fallback Studio
Magento 2 PWA fallback wrapper to easily create a custom theme on top of PWA Studio
Stars: ✭ 111 (-15.91%)
Mutual labels:  magento
Wfpc
Magento full page cache warmer
Stars: ✭ 95 (-28.03%)
Mutual labels:  magento
Firegento fastsimpleimport2
AvS_FastSimpleImport for Magento 2
Stars: ✭ 117 (-11.36%)
Mutual labels:  magento
Quickstart Magento
AWS Quick Start Team
Stars: ✭ 88 (-33.33%)
Mutual labels:  magento
Firegento Magesetup2
MageSetup for Magento2
Stars: ✭ 107 (-18.94%)
Mutual labels:  magento
Import
This is a library that provides generic functionalities for the implementation of imports. In addition to maximum performance and optimized memory consumption, Pacemaker can also be used to implement imports in distributed scenarios that place the highest demands on speed and stability.
Stars: ✭ 125 (-5.3%)
Mutual labels:  magento
Magento 2 Server Installation
Magento 2 Server Installation - How to Install Magento 2
Stars: ✭ 123 (-6.82%)
Mutual labels:  magento
Mc Magento
MailChimp for Magento 1
Stars: ✭ 112 (-15.15%)
Mutual labels:  magento

Magento Configuration Sync

This is a tool designed to allow teams to keep Magento (1.x and 2.x supported) configuration under version control, eliminating the unknown when tracking down potentially configuration related bugs.

image

File Syntax

The configuration values are stored in a YAML file. The format of the file is as follows:

environment:
    scope_key:
       path: value

For example:

production:
    default:
        dev/debug/template_hints: 0
development:
    default:
        dev/debug/template_hints: 1
    stores-1:
        currency/options/base: GBP
        dev/restrict/allow_ips: null

The above will:

  • disable template hints on product;
  • enable template hints on the development environment;
  • set the currency to Pounds Sterling in the store scope for the store with ID #1;
  • ensure the allowed development ip's are inherited from the website for store #1.

Valid scope keys are:

  • default
  • stores-$id
  • websites-$id

Usage

php bin/mageconfigsync --help

Most commands take an optional argument of --magento-root if not running from within a Magento directory and an optional argyment of --env used to describe the current environment of the configuration.

Dump

php bin/mageconfigsync dump --help

The dump command outputs the current contents of the configuration as YAML to stdout. Specify --env and the environment will be added as the first key, for convenience.

Load

php bin/mageconfigsync load --help

The load command synchronises the database with the contents of the file. Any changed lines will be output to stderr. The --env option will determine which section of the YAML file is loaded.

Diff

php bin/mageconfigsync diff --help configuration_file.yaml

Example Scenario

Thanks to the symfony/yaml component we can use all the tricks YAML provides us, including merge keys. Consider the following file, config.yml:

prod:
  default: &prod_global
    currency/options/base: GBP
    dev/debug/template_hints: 0

dev:
  default:
    <<: *prod_global
    dev/debug/template_hints: 1

Our aim is to ensure that the currency is always set to GBP, regardless of the environment, but template hints should only be enabled for the local environment.

On our development machine we can pull our latest changes and run the following command to get the configuration just as we want it:

php bin/mageconfigsync load --magento-root ~/Sites/magento --env dev config.yml

We can also use this config.yml as part of our deployment process. Consider a workflow like the following:

// Take a backup of the configuration, incase we need to restore as part of a rollback
php bin/mageconfigsync dump --env prod > config.yml.pre-deploy

// Give us a diff for the deployment log so we can see what's about to be changed
php bin/mageconfigsync diff --file-env prod config.yml

// Sync the latest configuration changes to prod
php bin/mageconfigsync load --env prod config.yml

Congratulations, your Magento configuration is now under control, is auditable and consistent.

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].