PHPackages                             aklump/loft-deploy - 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. aklump/loft-deploy

ActiveLibrary

aklump/loft-deploy
==================

A bridge across website instances/environments to simplify the exchange of database and files not under SCM.

0.22.1(4y ago)0105BSD-3-ClauseShellPHP &gt;=5.6

Since Sep 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aklump/loft_deploy)[ Packagist](https://packagist.org/packages/aklump/loft-deploy)[ RSS](/packages/aklump-loft-deploy/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (4)Versions (57)Used By (0)

Loft Deploy
===========

[](#loft-deploy)

[![Loft Deploy](docs/images/loft-deploy.jpg)](docs/images/loft-deploy.jpg)

Summary
-------

[](#summary)

A bridge across website instances/environments to simplify the exchange of database and files not under SCM. This was first written having Drupal in mind, though it works for other frameworks as well.

**Visit [https://aklump.github.io/loft\_deploy](https://aklump.github.io/loft_deploy) for full documentation.**

Quick Start
-----------

[](#quick-start)

*Before you begin, to save from lot's of password entries, you should ensure key-based authentication is working between server instances.*

Add to your codebase:

```
$ cd /path/to/local/app
$ composer require aklump/loft-deploy
```

Add the following to *.gitignore* for your project.

```
.loft_deploy/

```

Now deploy across environments as you would any other change.

---

On your production server do the following to configure it:

```
$ cd /path/to/production/app
$ ./vendor/bin/loft_deploy.sh init prod
$ ./vendor/bin/loft_deploy.sh config
$ ./vendor/bin/loft_deploy.sh configtest
$ ./vendor/bin/loft_deploy.sh config-export
```

---

On your local machine, configure it, adding the snippet generated in the previous step via `config-export`.

```
$ cd /path/to/local/app
$ ./vendor/bin/loft_deploy.sh init dev
$ ./vendor/bin/loft_deploy.sh config
$ ./vendor/bin/loft_deploy.sh configtest
```

Now pull your non SCM assets from production to local:

```
$ ./vendor/bin/loft_deploy.sh pull
```

Requirements
------------

[](#requirements)

1. [Composer](https://getcomposer.org/)
2. PHP
3. Key-based server authentication

Using the `ldp` command
-----------------------

[](#using-the-ldp-command)

To make working with Loft Deploy easier you should install the `ldp` command, which allows you to execute *vendor/bin/loft\_deploy.sh* from any directory within your project.

### Installation

[](#installation)

1. After Composer installing [aklump/loft-deploy](https://github.com/aklump/loft_deploy), place a symlink to *./vendor/bin/ldp.sh* somewhere $PATH can find it, e.g.,

    ```
    $ cd ~/bin
    $ ln -s /path/to/app/vendor/bin/ldp.sh ldp
    ```
2. Now use `ldp` as the command to execute *loft\_deploy.sh* from within any directory in your project, e.g.,

    ```
    $ cd /path/to/app/
    $ ldp info
    $ cd /path/to/app/web/modules
    $ ldp info
    ```

### Multiple Projects Using Loft Deploy?

[](#multiple-projects-using-loft-deploy)

No problem because *ldp.sh* works across all versions of Loft Deploy, the symlink to project A will work for project B and C. That is to say, you need only install one symlink for many projects, even if those many projects have different versions of *Loft Deploy* installed.

Configuration
-------------

[](#configuration)

The configuration file may be edited in one of two ways:

1. `$ ldp config` (using `$EDITOR`)
2. Open */path/to/app/.loft\_deploy/config.yml* in your editor of choice.

Be sure to **test your configuration** until you see no warnings `$ ldp configtest`.

See also [configuration](@config)

Usage
-----

[](#usage)

See inner documentation for how to use.

Contributing
------------

[](#contributing)

If you find this project useful... please consider [making a donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4E5KZHDQCEUV8&item_name=Gratitude%20for%20aklump%2Floft_deploy).

Contact The Developer
---------------------

[](#contact-the-developer)

In the Loft Studios
Aaron Klump - Web Developer

360.690.6432
PO Box 29294 Bellingham, WA 98228-1294

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~24 days

Total

56

Last Release

1475d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79476f3b82f9c766433c7eb401cbcfc636cd5d5ccf2b2e6b50ea81d1de6c2730?d=identicon)[aklump](/maintainers/aklump)

---

Top Contributors

[![aklump](https://avatars.githubusercontent.com/u/425737?v=4)](https://github.com/aklump "aklump (923 commits)")

### Embed Badge

![Health badge](/badges/aklump-loft-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/aklump-loft-deploy/health.svg)](https://phpackages.com/packages/aklump-loft-deploy)
```

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

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