百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

magento2-configurator

> AI 编程
开源

Magento 2 配置器

174 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Magento 2 配置器

Magento 2 Configurator

A Magento module initially created by CTI Digital to create and maintain database variables using files. This module aims to bring the following benefits to a Magento developer's work flow:

  • Install Magento from scratch with important database based configuration ready.
  • Share and collaborate configuration with other colleagues using your own versioning system.
  • Keep versions of your configurations using your own versioning system.
  • Split your configuration based on the environment you're developing on.

If you're interested to find out more about the background of the configurator, watch this lightning talk by Raj Chevli at Mage Titans in Manchester on YouTube.

This is a work in progress and by no means for use with production environments (and probably not even development environments either just yet).

Testing Locally For Development

If you are contributing the module, please run the following commands to stand the best chance with Travis CI liking your code. These test include PHP Code Sniffer, PHP Mess Detector, PHP Copy and Paste Detector, PHP Unit

…

Integration tests

  • Configure your Magento integration test environment.
  • Add the XML below to dev/tests/integration/phpunit.xml.dist

    ../../../vendor/ctidigital/magento2-configurator/Test/Integration
  • You can run the tests from the correct place on the command line
/dev/tests/integration$ ../../../vendor/bin/phpunit --testsuite "magento2-configurator"
  • You can also add the magento PHP developer tools to your path, so that you do not have to specify location of phpunit
bash
export PATH=$PATH:/var/www/magento2/vendor/bin

Unit tests

If you're developing a new component, please ensure you have your corresponding unit test which extends ComponentAbstractTestCase as that will test that your component has the required functions. Do also include sample files with your component that works

Travis

We also use Travis CI to automate part of the testing process (we are still looking to add more to this!). It tests the following:

  • CodeSniffer
  • MessDetector
  • Copy & Paste Detection
  • Unit Tests
  • Run Configurator (we aim to run it on these versions)
    1. Latest 3 minor versions
    2. Latest release candidate (allowed to fail)

Getting Started

  1. Create a master.yaml file in /app/etc/. (see Samples/master.yaml)
  2. Enable Modules CtiDigital_Configurator,FireGento_FastSimpleImport.
  3. Run bin/magento configurator:run --env=""

Usage

  • Listing available components bin/magento configurator:list
  • Running individual components bin/magento configurator:run --env="" --component="config"
  • Extra logs bin/magento configurator:run --env="" -v

Roadmap for components to do

Component Code Written Tests Written Sample Files
Websites :white_check_mark: :grey_exclamation: :white_check_mark:
System Configuration :white_check_mark: :grey_exclamation: :white_check_mark:
Categories :white_check_mark: :grey_exclamation: :white_check_mark:
Products :white_check_mark: :grey_exclamation: :white_check_mark:
Attributes :white_check_mark: :grey_exclamation: :white_check_mark:
Attribute Sets :white_check_mark: :grey_exclamation: :white_check_mark:
Blocks :white_check_mark: :grey_exclamation: :white_check_mark:
Admin Roles :white_check_mark: :grey_exclamation: :white_check_mark:
Admin Users :white_check_mark: :grey_exclamation: :white_check_mark:
Pages :white_check_mark: :grey_exclamation: :white_check_mark:
Widgets :white_check_mark: :grey_exclamation: :white_check_mark:
Customer Groups :white_check_mark: :grey_exclamation: :white_check_mark:
Media :white_check_mark: :grey_exclamation: :white_check_mark:
Tax Rules :white_check_mark: :grey_exclamation: :white_check_mark:
API Integrations :white_check_mark: :grey_exclamation: :white_check_mark:
Tax Rates :white_check_mark: :grey_exclamation: :white_check_mark:
Rewrites :white_check_mark: :white_check_mark: :white_check_mark:
Review Ratings :white_check_mark: :white_check_mark: :white_check_mark:
Related Products :white_check_mark: :grey_exclamation: :white_check_mark:
Up Sell Products :white_check_mark: :grey_exclamation: :white_check_mark:
Cross Sell Products :white_check_mark: :grey_exclamation: :white_check_mark:
Customers :white_check_mark: :white_check_mark: :white_check_mark:
SQL :white_check_mark: :white_check_mark: :white_check_mark:
Catalog Price Rules :white_check_mark: :x: :white_check_mark:
Shipping Table Rates :white_check_mark: :white_check_mark: :white_check_mark:
Customer Attributes :white_check_mark: :x: :white_check_mark:
Shopping Cart Price Rules :x: :x: :x:
Orders :x: :x: :x:
Tiered Prices :x: :x: :x:

License

MIT

Issues· 22 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPconfigconfigurationmagentomagento2

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.