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

65964PHP

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 1mo ago

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 43% 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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