PHPackages                             mahlstrom/remote - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. mahlstrom/remote

ActiveLibrary[File &amp; Storage](/categories/file-storage)

mahlstrom/remote
================

Accessing remote files throu FTP, sFTP

333PHP

Since Jan 15Pushed 11y ago2 watchersCompare

[ Source](https://github.com/Mahlstrom/Remote)[ Packagist](https://packagist.org/packages/mahlstrom/remote)[ RSS](/packages/mahlstrom-remote/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Remote what ?
=============

[](#remote-what-)

I have for a time been working with FTP and SFTP and was frustrated that I needed to remember the differences between them. So I built this (With help from [phpseclib](https://github.com/phpseclib/phpseclib)).

It is object oriented, Unittested with 100% code coverage.

These are the methods implemented so far.

```
public function chdir($directory);
public function chmod($mode, $filename);
public function close();
public function delete($path);
public function get($remote_file, $local_file);
public function put($local_file, $remote_file);
public function isConnected();
public function mkdir($dir, $recursive = false);
public function nlist($dir = '.');
public function pwd();
public function rawlist($dir = '.');
public function readDir($dir = '.');
public function rename($oldName, $newName);
public function rmdir($path);
public function size($filename);
public function stat($filename);

```

As soon as I am happy with what I have built I will put the code up on [packagist.org](http://packagist.org)

\##Installation I am using composer and have not built my own autoload so it is dependent on composer right now.

In composer.json add

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Mahlstrom/Remote.git"
        }
    ]
}
```

and

```
{
    "require": {
        "mahlstrom/remote": "dev-master"
    }
}
```

That's all folks!

Good luck, have fun!

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/284953?v=4)[Magnus Ahlstrom](/maintainers/mahlstrom)[@Mahlstrom](https://github.com/Mahlstrom)

### Embed Badge

![Health badge](/badges/mahlstrom-remote/health.svg)

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

PHPackages © 2026

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