Download the PHP package aklump/loft-deploy without Composer

On this page you can find all versions of the php package aklump/loft-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package loft-deploy

Loft Deploy

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 for full documentation.

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:

Add the following to .gitignore for your project.

Now deploy across environments as you would any other change.


On your production server do the following to configure it:


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

Now pull your non SCM assets from production to local:

Requirements

  1. Composer
  2. PHP
  3. Key-based server authentication

Using the ldp command

To make working with Loft Deploy easier you should install the ldp command, which allows you to execute _vendor/bin/loftdeploy.sh from any directory within your project.

Installation

  1. After Composer installing aklump/loft-deploy, place a symlink to ./vendor/bin/ldp.sh somewhere $PATH can find it, e.g.,

  2. Now use ldp as the command to execute _loftdeploy.sh from within any directory in your project, e.g.,

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

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

  1. $ ldp config (using $EDITOR)
  2. Open _/path/to/app/.loftdeploy/config.yml in your editor of choice.

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

See also configuration

Usage

See inner documentation for how to use.

Contributing

If you find this project useful... please consider making a donation.

Contact The Developer

In the Loft Studios
Aaron Klump - Web Developer
[email protected]
360.690.6432
PO Box 29294 Bellingham, WA 98228-1294

http://www.intheloftstudios.com
https://github.com/aklump


All versions of loft-deploy with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
symfony/yaml Version ^3.4|^4|^5
justinrainbow/json-schema Version ^5.2
aklump/loft-lib Version ^1
jakeasmith/http_build_url Version ^1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aklump/loft-deploy contains the following files

Loading the files please wait ....