2017 © Pedro Peláez
 

library magento-initializer

Framework for Magento initialization and state recovery.

image

irs/magento-initializer

Framework for Magento initialization and state recovery.

  • Tuesday, December 9, 2014
  • by irs
  • Repository
  • 1 Watchers
  • 1 Stars
  • 69 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Magento initializer

Build Status, (*1)

This framework provides API for Magento installation, initialization and state recovery. Framework was tested on EE 1.11 and should work on all versions older than 1.9., (*2)

Installation

To install the framework with Composer add following lines into you composer.json:, (*3)

{
    "require": {
        "irs/magento-initializer": "dev-master"
    }
}

Then run composer install., (*4)

API description

The framework defines four core interfaces: InstallerInterface, InitializerInterface, StateInterface, DbInterface and four implementations of these interfaces., (*5)

GenericInstaller

Generic installer initializes Magento config, var, media structures in target directory; creates index.php that runs Magento from source directory with created config, var, media; adds test database to configuration and installs Magento into it., (*6)

Credentias to admin panel will be admin : 123123qa., (*7)

GenericInitializer

Is a class for changing Magento run parameters and state managenet. It can be used for:, (*8)

  • setting store and scope into index.php generated with GenericInstaller;
  • saving current Magento's state into state file;
  • restoring Magento state from state file.

The initializer uses DbInterface to create database dump and restore database from dump. Now only MySQL dumper is implemented; it uses mysqldump utility for dump creation and mysql for restoring., (*9)

GenericState

This class is used by GenericInitializer to save state into file. Saves databse dump, media and var directories as a Zip archive., (*10)

The Versions

09/12 2014

dev-master

9999999-dev

Framework for Magento initialization and state recovery.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vadim Kusakin

magento state initialization