lbausch/deployer-upload


Enhanced upload functions for Deployer

Language: PHP


Enhanced upload functions for Deployer

Installation

  1. composer require lbausch/deployer-upload --dev

  2. require 'vendor/lbausch/deployer-upload/src/upload.php'; in your recipe

Usage

Upload directory

/**
 * Upload directory to current server.
 *
 * @param string $local
 * @param string $remote
 * @param array  $options
 *
 * @throws \RuntimeException
 */
function upload_dir($local, $remote, $options = [])

Default options:

$options = [
    'ignore_unreadable_dirs' => true,
    'ignore_vcs' => true,
    'ignore_dot_files' => false,
];

Project Statistics

Sourcerank 1
Repository Size 3.91 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 3
Contributors 1
Tags 5
Created
Last updated
Last pushed

Top Contributors See all

lbausch

Packages Referencing this Repo

lbausch/deployer-upload
Enhanced upload functions for Deployer
Latest release v2.0.0 - Updated

Recent Tags See all

v2.0.0 November 26, 2016
v1.0.3 September 22, 2016
v1.0.2 September 22, 2016
v1.0.1 August 01, 2016
v1.0.0 July 31, 2016

Something wrong with this page? Make a suggestion

Last synced: 2016-11-26 22:00:21 UTC

Login to resync this repository