Download the PHP package zookal/harris-street-impex without Composer
On this page you can find all versions of the php package zookal/harris-street-impex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zookal/harris-street-impex
More information about zookal/harris-street-impex
Files in zookal/harris-street-impex
Package harris-street-impex
Short Description Magento n98-magerun module for importing and exporting configuration data. Import supports hierarchical folder structure and of course different environments.
License OSL-3.0
Informations about the package harris-street-impex
HarrisStreet ImpEx for Magento
Import and Export of Magentos configuration stored in core_config_data table. Handling of different environments with inheritance.
There is an awesome blogpost from @cmuench about this module!
Supports multiple formats like:
- CSV
- Json
- LimeSodaXml LimeSoda EnvironmentConfiguration
- Xml
- Yaml
- ASCII Text File formats – ASCII Delimited Text – Not CSV or TAB delimited text
At the moment the Yaml import format is the most supported. CSV and JSON works also well.
Export
The three switches --include
, --includeScope
and --exclude
are added to the SQL query via AND
.
Examples
Export hierarchical xml for the general
and tax
namespace:
Export all configuration settings each namespace into its own file starting with the prefix test
:
Import
To import a configuration you need a specific setup of folders in the filesystem.
Yaml File Format
Folder setup
An example import for the development environment of cyrill would like:
How does the import work?
Focusing in the printscreen above on the folder: configuration/newCoreConfigData
and our example import command.
The importer expects always a base folder (also configurable via CLI option) where all default configuration options are store in n-files. It reads all those files and loads their settings into Magento.
In the next step the importer loads all files from the development
folder but non-resursive and loads that content into Magento. After that it jumps into the folder cyrill
and loads there the files. Finished!
The output looks like:
You are totally free of naming the folders and files.
The file format during import will be detected with its extension. .yaml
works were as .yml
won't.
Convert
Is really useful to create a .magerun file from your configuration to process later that file on a server.
Installation
Require this installer in your composer.json
file:
"require": {
…
"zookal/harris-street-impex": "dev-master",
…
}
Or via modman:
License
Open Software License (OSL 3.0)
Copyright
Copyright (c) Zookal Pty Ltd, Sydney Australia
Author
Cyrill at Schumacher dot fm or cyrill at zookal dot com