Disables automatic application of setup scripts in Magento

0.2.0 2017-01-19 13:21 UTC

This package is auto-updated.

Last update: 2024-05-14 00:47:37 UTC


Disables the automatic application of setup scripts in Magento, this is cool because

  1. It's a little performance boost, we don't need to be checking for setup scripts every time Mage::run is called as setup scripts should be run during the deployment process
  2. It is safer. If you went wild and deployed to a busy server it is possible that setup scripts could be initiated multiple times by multiple processes. This could cause your database to get into unexpected or corrupted states.

n98-magerun sys:setup:run is my preferred method of running setup scripts.

Just pop it (and your preferred composer installer / autoloader) in your composer.json and it's all ready to go.

    "require": {
        "magento-hackathon/magento-composer-installer": "~2.0",
    "repositories": [
            "type": "composer",
            "url": ""
    "extra": {