PHPackages                             pendenga/sftp - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. pendenga/sftp

ActiveLibrary[HTTP &amp; Networking](/categories/http)

pendenga/sftp
=============

Sftp library for doing key-signed posts

0.1.0(6y ago)03[1 PRs](https://github.com/pendenga/sftp/pulls)nonePHP

Since Mar 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pendenga/sftp)[ Packagist](https://packagist.org/packages/pendenga/sftp)[ RSS](/packages/pendenga-sftp/feed)WikiDiscussions master Synced 5d ago

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

Pendenga Sftp Library
=====================

[](#pendenga-sftp-library)

[![1 Test](https://camo.githubusercontent.com/e37e99f0b9ed9616725a1e3506e1ea3a8cfefa31a25278f55e87ea94eae81e89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d312d626c75652e737667)](https://camo.githubusercontent.com/e37e99f0b9ed9616725a1e3506e1ea3a8cfefa31a25278f55e87ea94eae81e89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d312d626c75652e737667)[![2 Assertions](https://camo.githubusercontent.com/73f4f25ea69fbe2df75ba3d9a7d3eb7b76e92ba2cab476187c406584e7e1b21c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617373657274696f6e732d322d626c75652e737667)](https://camo.githubusercontent.com/73f4f25ea69fbe2df75ba3d9a7d3eb7b76e92ba2cab476187c406584e7e1b21c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617373657274696f6e732d322d626c75652e737667)[![100% Coverage](https://camo.githubusercontent.com/af813ae002de8e31bfd234a3d5eab4fe1963ed998df54d1f3c5e3e1fe334f7d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e2e737667)](https://camo.githubusercontent.com/af813ae002de8e31bfd234a3d5eab4fe1963ed998df54d1f3c5e3e1fe334f7d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e2e737667)

This is the package implementation for pushing to Domo's SFTP connector. It handles all the package includes and negotiateing with Vault to get the security certificate (pem).

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

[](#installation)

This package is hosted on Packagist and is installable via [Composer](https://getcomposer.org/).

### Requirements

[](#requirements)

- PHP version 7.1 or greater
- Composer (for installation)

### Installing Via Composer

[](#installing-via-composer)

Run the following command (assuming `composer` is available in your PATH):

```
$ composer require pendenga/domo
```

Usage
-----

[](#usage)

After creating a Domo data set, you'll get a `dataset_id` which is used for the remote filename. That's the only loose variable. All the reset of the connection information can be abstracted in a SftpLoaderInterface, in this case the demo class IniLoader.

```
// using example iniLoader to simplify (1 variable to look up)
$domo = new DomoPush(new IniLoader());
$domo->push($local_file, $domo->getRemoteFilename($domo_dataset_id));

// manual sftp operation (5 variables to look up)
$sftp = new SFTP($sftp_remote_path);
$rsa = new RSA();
$rsa->setPassword($rsa_password);
$rsa->loadKey(base64_decode($rsa_key_base64));
$sftp->login($sftp_username, $rsa);
$sftp->put($remote_file, $local_file, SFTP::SOURCE_LOCAL_FILE);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

2243d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27fbb3bb3008265520daa337334fb9b3ae57bb282bc7d4785784bf8be1d7d855?d=identicon)[pendenga](/maintainers/pendenga)

---

Top Contributors

[![pendenga](https://avatars.githubusercontent.com/u/29118?v=4)](https://github.com/pendenga "pendenga (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pendenga-sftp/health.svg)

```
[![Health](https://phpackages.com/badges/pendenga-sftp/health.svg)](https://phpackages.com/packages/pendenga-sftp)
```

###  Alternatives

[hyperwallet/sdk

A library to manage users, transfer methods and payments through the Hyperwallet API

12532.1k2](/packages/hyperwallet-sdk)[highsidelabs/walmart-api

A PHP client for Walmart's Marketplace, 1P Supplier, and Content Provider APIs.

308.0k](/packages/highsidelabs-walmart-api)

PHPackages © 2026

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