Download the PHP package aklump/live-dev-porter without Composer

On this page you can find all versions of the php package aklump/live-dev-porter. 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 live-dev-porter

Live Dev Porter

Summary

Simplifies the management and transfer of assets between website environments.

Visit https://aklump.github.io/live_dev_porter for full documentation.

Install with Composer

  1. Require this package:

Quick Start

  1. Ensure execute permissions: chmod u+x ./vendor/bin/ldp
  2. Initialize your project using ./vendor/bin/ldp init
  3. (To migrate from Loft Deploy jump below...)
  4. Open .live_dev_porter/config.yml and modify as needed.
  5. Ensure .live_dev_porter/config.local.yml is ignored by your SCM!
  6. Open .live_dev_porter/config.local.yml and define the correct local and remote environment IDs as defined in config.yml.
  7. Run ./vendor/bin/ldp configtest and work through any failed tests.

Migrating from Loft Deploy?

  1. rm .live_dev_porter/config*
  2. ./vendor/bin/ldp config-migrate .loft_deploy
  3. Rewrite any hooks as processors.
  4. Return to where you left off above.

Optional Shorthand ldp instead of ./vendor/bin/ldp

Option A: $PATH

This option has the advantage that any other composer binary in your project will be executable as well.

  1. Add /path/to/project/root/vendor/bin to your $PATH.

_~/.bashprofile

Option B: alias

This option is singularly focused in terms of what it affects.

_~/.bashprofile

  1. Add an alias called ldp that points to /path/to/project/root/vendor/bin/ldp.

Both Options Continued

  1. Type ldp to test if it worked... you should see available commands
  2. Now use ldp from anywhere within your project, instead of ./vendor/bin/ldp from the root.
  3. Don't worry if you have more than one project using Live Dev Porter because this alias will work for multiple projects as long as they use the same version, and usually even if the versions differ.

Quick Start Remote

  1. Deploy your code to your remote server.
  2. On the remote server type ./vendor/bin/ldp config -l

Installation

The installation script above will generate the following structure where . is your repository root.

.
└── .live_dev_porter
│   ├── config.local.yml
│   └── config.yml
└── {public web root}

Configuration Files

Refer to the file(s) for documentation about configuration options.

Filename Description VCS
.live_dev_porter/config.yml Configuration shared across all server environments: prod, staging, dev yes
.live_dev_porter/config.local.yml Configuration overrides for a single environment; not version controlled. no

Usage

Contributing

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


All versions of live-dev-porter with dependencies

PHP Build Version
Package Version
Requires aklump/build-url Version ^0.0.2
aklump/glob Version ^0.0
aklump/loft-lib Version ^2.1
ckr/arraymerger Version ^2.0
doctrine/lexer Version ^1.2 || ^2.1
ext-json Version *
jasny/dotkey Version ^1.0
justinrainbow/json-schema Version ^5.2
nikic/php-parser Version ^4.15
php Version ^7.3 || ^8
symfony/yaml Version ^3.4 || ^4 || ^5 || ^6
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/live-dev-porter contains the following files

Loading the files please wait ....