PHPackages                             coderstephen/robo-ftp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. coderstephen/robo-ftp

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

coderstephen/robo-ftp
=====================

FTP(S) task for Robo

v0.1.2(11y ago)41881[3 issues](https://github.com/sagebind/robo-ftp/issues)MITPHPPHP &gt;=5.4.0

Since Feb 1Pushed 11y ago1 watchersCompare

[ Source](https://github.com/sagebind/robo-ftp)[ Packagist](https://packagist.org/packages/coderstephen/robo-ftp)[ RSS](/packages/coderstephen-robo-ftp/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Robo FTP Deploy Task
====================

[](#robo-ftp-deploy-task)

[![Version](https://camo.githubusercontent.com/9f1a8202e3fbb875416135ffc39111c9446cf28ac0067ac9d0e77c9f06518cc7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6465727374657068656e2f726f626f2d6674702e737667)](https://packagist.org/packages/coderstephen/robo-ftp)[![License](https://camo.githubusercontent.com/fb436f6aea26261407041fe9aa00b990e19615cccc3bce65aff879706f3fcf40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f6465727374657068656e2f726f626f2d6674702e737667)](https://packagist.org/packages/coderstephen/robo-ftp)[![Downloads](https://camo.githubusercontent.com/afe3518dca286a4732cce6708baf744dd1c1f39ed1f54243c95eb9aa4b8c80d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6465727374657068656e2f726f626f2d6674702e737667)](https://packagist.org/packages/coderstephen/robo-ftp)

A simple task for the [Robo](http://robo.li) task runner for deploying files to a remote server using FTP. Useful for shared hosting servers if you do not have SSH access, or for if you need better platform independence.

Installation
------------

[](#installation)

Add the package to your list of dependencies:

```
composer require --dev coderstephen/robo-ftp
```

This task uses [`dg/ftp-php`](http://packagist.org/packages/dg/ftp-php) for establishing FTP connections, which is a thin wrapper around the [built-in FTP PHP extension](http://php.net/ftp). Most PHP installations are compiled with this extension, so this task should be able to be run just about anywhere with a PHP interpreter.

Usage
-----

[](#usage)

Just include the `FtpDepoly` trait in your `RoboFile.php` file and run an FTP deploy task using `$this->taskFtpDeploy()`.

```
class RoboFile extends \Robo\Tasks
{
    use RoboFtp\FtpDeploy;

    function deploy()
    {
        $ftp = $this->taskFtpDeploy('host', 'user', 'password')
            ->dir('/')
            ->from('.')
            ->exclude('build')
            ->exclude('cache')
            ->skipSizeEqual()
            ->skipUnmodified()
            ->run();
    }
}
```

SSL Support
-----------

[](#ssl-support)

This task supports using FTP over SSL by default. You need the [SSL extension](http://php.net/ssl) for this to work, which isn't always available on Windows. If you want to disable SSL for your task, you can use the `secure()` method:

```
class RoboFile extends \Robo\Tasks
{
    use RoboFtp\FtpDeploy;

    function deploy()
    {
        $ftp = $this->taskFtpDeploy('host', 'user', 'password')
            ->dir('wwwroot')
            ->from('public')
            ->secure(false)
            ->run();
    }
}
```

Note that some Windows servers do not properly support FTP/S either and may error out when uploading files over SSL. Microsoft has made available a hotfix for this bug, but isn't distributed by default. More information [here](http://support.microsoft.com/kb/2888853/).

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance5

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~7 days

Total

3

Last Release

4156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/83a82932c24c29b0e68201a359462dcd87f37b20976f1c48e827fd903ffa2284?d=identicon)[sagebind](/maintainers/sagebind)

---

Top Contributors

[![sagebind](https://avatars.githubusercontent.com/u/2192863?v=4)](https://github.com/sagebind "sagebind (15 commits)")

---

Tags

ftproboftps

### Embed Badge

![Health badge](/badges/coderstephen-robo-ftp/health.svg)

```
[![Health](https://phpackages.com/badges/coderstephen-robo-ftp/health.svg)](https://phpackages.com/packages/coderstephen-robo-ftp)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17417.5M295](/packages/symfony-stimulus-bundle)[illuminate/session

The Illuminate Session package.

9939.3M850](/packages/illuminate-session)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

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