Installer Class

Create object

Create a object of the Installer class:

$installer = new Installer(Registry $registry, Request $request, Language $language, Config $config);

Init

Init the class:

$installer->init(string $directory);

Raw create

Create from sql database/{db-type}/create files:

$installer->rawCreate();

Raw drop

Drop from sql database/{db-type}/drop files:

$installer->rawDrop();

Insert data

Insert the data:

$installer->insertData(array $optionArray);
Edit on GitHub