PHPackages                             direte/microftps - 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. direte/microftps

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

direte/microftps
================

Micro library to deal with FTPS connections over cUrl

66604PHP

Since Oct 21Pushed 9y ago3 watchersCompare

[ Source](https://github.com/direte/microftps)[ Packagist](https://packagist.org/packages/direte/microftps)[ RSS](/packages/direte-microftps/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

MicroFtps
=========

[](#microftps)

Micro library to deal with FTPS connections over cUrl

Why?
----

[](#why)

- Old 'non-upgradable' customer server
- Common `data_accept: SSL/TLS handshake failed` error with the default explicit `ftp_ssl_connect`
- Required a quick solution

Solution
--------

[](#solution)

Raw FTPS (not SFTP) connection over cUrl

Usage
-----

[](#usage)

```
$someOpts = array(
  'passive' => true,
  'port' => 990,
  'timeout' => 10,
  'curlOptions' => array(
    'CURLOPT_SSL_VERIFYPEER' => true
  )
);

$mf = new \DiRete\MicroFtps();
$mf->connect('ftps.server.com', 'username', 'pass', $someOpts);
// Or $mf = new \DiRete\MicroFtps('ftps.server.com', 'username', 'pass', $someOpts);
$fileContent = $mf->read('/path/to/my/file.txt');
```

API (quick overview)
--------------------

[](#api-quick-overview)

- connect($server, $username, $password, $options)
- read($filepath)
- listDir($filepath)
- write($remoteFilename, $localFilename)
- delete($filepath)

Contribution
------------

[](#contribution)

PRs are welcome

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b69622b56c489a57100d2f6cc98f0b8d1ad90791eb3cdfd114477fc66c6bb892?d=identicon)[direte](/maintainers/direte)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/direte-microftps/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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