PHPackages                             aoepeople/magento-deployscripts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. aoepeople/magento-deployscripts

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

aoepeople/magento-deployscripts
===============================

Collection of scripts for Magento builds and deployments

v1.1.0(10y ago)686.7k↓50%22[2 issues](https://github.com/AOEpeople/magento-deployscripts/issues)Shell

Since Nov 18Pushed 9y ago44 watchersCompare

[ Source](https://github.com/AOEpeople/magento-deployscripts)[ Packagist](https://packagist.org/packages/aoepeople/magento-deployscripts)[ RSS](/packages/aoepeople-magento-deployscripts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (23)Used By (0)

Magento Deployment Scripts
==========================

[](#magento-deployment-scripts)

Author: Fabrizio Branca

This is a collection of scripts used to build/package, deploy and install Magento projects.

*Import note:*Never use the master branch in your build jobs. Instead clone a specific tag:

```
git clone -b v1.0.0 https://github.com/AOEpeople/magento-deployscripts.git

```

Since these scripts might change significantly and your deployment process might fail otherwise.

### Overview

[](#overview)

- [build.sh](#buildsh)
- [deploy.sh](#deploysh)
- [install.sh](#installsh)

### Usage

[](#usage)

Add the magento-deployment scripts to your project using Composer. Checkout composer.json example file below.

### Introduction

[](#introduction)

#### build vs. provisioning vs. deployment vs. installation

[](#build-vs-provisioning-vs-deployment-vs-installation)

Checkout  (and the next slides after that)

TODO: add more information here

### build.sh

[](#buildsh)

```
Usage:
 ./deploy.sh -r  -t  -e  [-u ] [-p ] [-a ] [-d]
 -r     Package url (http, S3 or local file)
 -t     Target dir
 -u     Download username
 -p     Download password
 -a     aws cli profile (defaults to 'default')
 -d     Also download and install .extra.tar.gz package

```

Generated files

- projectName.tar.gz
- projectName.extra.tar.gz
- MD5SUMS

#### Base package vs extra package

[](#base-package-vs-extra-package)

Checkout  (and the next slides after that)

Example Configuration/tar\_excludes.txt content

```
.git*
./htdocs/install.php
./htdocs/includes
./htdocs/downloader
./htdocs/pkginfo
./htdocs/LICENSE*
./htdocs/RELEASE_NOTES.txt
./htdocs/phpunit.xml*
./htdocs/*.sample
./htdocs/var
./htdocs/media
./tools/composer.phar
./.modman/Aoe_TemplateHints
./.modman/EcomDev_PHPUnit

```

#### Expected project files/directories

[](#expected-project-filesdirectories)

- composer.json
- tools/composer.phar (This should be part of your project repo. Obviously this can't be pulled in via Composer. Chicken and egg, problem... :)
- tools/modman (This is part of  which is being pulled in via composer)
- htdocs/index.php
- .modman directory: The modules located here can be directly committed to the main project repository (e.g. if they're project specific) or they can be pulled in via Composer)
- .modman/ProjectName\_Base: There's no exclipict check for this base module to be present, but this is a recommendation. Add the basic project setup (local.xml, htaccess,...) to this base module.
- .modman/.basedir
- [Configuration/tar\_excludes.txt](#tarexcludes) (this file controls what goes in the base package and what goes in the extra package. See below)

Additionally install.sh expects/checks these files:

- tools/systemstorage\_import.sh (This is part of  which is being pulled in via composer)
- tools/apply (This is part of  which is being pulled in via composer)
- tools/n98-magerun.phar (This is part of  which is being pulled in via composer)
- Configuration/settings.csv (This is being used by EnvSettingsTool to apply all environment specific settings during the installation process)
- Configuration/mastersystem.txt (Defines which system is the master system. E.g. "production". This is required to determine if the systemstorage backup needs to be imported during the installation process.)
- Configuration/project.txt (project name. E.g. "acme")

These files and folders can easily be constructud by using following composer.json as a basis for your project

```
{
    "name": "my/project",
    "minimum-stability": "dev",
    "require": {
        "aoepeople/composer-installers": "*",
        "aoepeople/envsettingstool": "*",
        "tmp/magento_community": "1.9.0.1"
        "aoepeople/magento-deployscripts": "1.0.3"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/AOEpeople/composer-installers.git"
        },
        {
            "type": "vcs",
            "url": "https://github.com/AOEpeople/EnvSettingsTool.git"
        },
        {
            "type": "package",
            "package": {
                "name": "tmp/magento_community",
                "type": "magento-source",
                "version": "1.9.0.1",
                "dist": {
                    "url": "https://github.com/OpenMage/magento-mirror/archive/1.9.0.1.zip",
                    "type": "zip"
                }
            }
        },
        {
            "type": "vcs",
            "url": "https://github.com/AOEpeople/magento-deployscripts.git"
        }
    ],
    "config" : {
        "bin-dir": "tools"
    }
}

```

#### Auto-generated meta files

[](#auto-generated-meta-files)

Following files will be stored inside the base package

- build.txt
- htdocs/version.txt (will be accessible from the web)

### deploy.sh

[](#deploysh)

### install.sh

[](#installsh)

### opsworks\_\*.sh

[](#opsworks_sh)

### systemstorage\_import.sh

[](#systemstorage_importsh)

### \*lint.sh

[](#lintsh)

### Tools

[](#tools)

#### n98-magerun

[](#n98-magerun)

#### modman

[](#modman)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 56.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Recently: every ~151 days

Total

18

Last Release

3330d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7c128588934775b07942f0a35a325d72cb06acb975f4527e20b4a20ded97d18?d=identicon)[fbrnc](/maintainers/fbrnc)

![](https://www.gravatar.com/avatar/960234235576bad43bcf26bd7618875f7aac66e5b86200a1339c648e55b8ad25?d=identicon)[LeeSaferite](/maintainers/LeeSaferite)

---

Top Contributors

[![fbrnc](https://avatars.githubusercontent.com/u/468820?v=4)](https://github.com/fbrnc "fbrnc (13 commits)")[![sourcesoldier](https://avatars.githubusercontent.com/u/4140294?v=4)](https://github.com/sourcesoldier "sourcesoldier (9 commits)")[![LeeSaferite](https://avatars.githubusercontent.com/u/47386?v=4)](https://github.com/LeeSaferite "LeeSaferite (1 commits)")

### Embed Badge

![Health badge](/badges/aoepeople-magento-deployscripts/health.svg)

```
[![Health](https://phpackages.com/badges/aoepeople-magento-deployscripts/health.svg)](https://phpackages.com/packages/aoepeople-magento-deployscripts)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
