PHPackages                             nassiry/filesize-handler-ftp-extension - 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. nassiry/filesize-handler-ftp-extension

ActiveFilesize-handler-extension[File &amp; Storage](/categories/file-storage)

nassiry/filesize-handler-ftp-extension
======================================

FTP extension for FileSizeHandler.

1.0.1(1y ago)11MITPHPPHP &gt;=8.0

Since Jan 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nassiry/filesize-handler-ftp-extension)[ Packagist](https://packagist.org/packages/nassiry/filesize-handler-ftp-extension)[ RSS](/packages/nassiry-filesize-handler-ftp-extension/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

PHP FileSizeHandler - FTP Extension
===================================

[](#php-filesizehandler---ftp-extension)

[![Packagist Downloads](https://camo.githubusercontent.com/c2c50a8902cc331c3c44924e86524c614f37275829345f17abbd3bc9580098ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6173736972792f66696c6573697a652d68616e646c65722d6674702d657874656e73696f6e)](https://camo.githubusercontent.com/c2c50a8902cc331c3c44924e86524c614f37275829345f17abbd3bc9580098ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6173736972792f66696c6573697a652d68616e646c65722d6674702d657874656e73696f6e)[![Packagist Version](https://camo.githubusercontent.com/4422884401f0328ab10a10dd86d8aaa7e374b39ac09eea160c2d294f6f791f14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6173736972792f66696c6573697a652d68616e646c65722d6674702d657874656e73696f6e)](https://camo.githubusercontent.com/4422884401f0328ab10a10dd86d8aaa7e374b39ac09eea160c2d294f6f791f14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6173736972792f66696c6573697a652d68616e646c65722d6674702d657874656e73696f6e)[![PHP](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)[![License](https://camo.githubusercontent.com/5d62f021e567297b68471f8786be9f29661c1be33207acca49aa787474445700/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6173736972792f66696c6573697a652d68616e646c65722d6674702d657874656e73696f6e)](https://camo.githubusercontent.com/5d62f021e567297b68471f8786be9f29661c1be33207acca49aa787474445700/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6173736972792f66696c6573697a652d68616e646c65722d6674702d657874656e73696f6e)

The **FTP Extension** for [FileSizeHandler](https://github.com/nassiry/filesize-handler) enables support for retrieving file sizes from FTP servers.

### Features

[](#features)

- Fetch file sizes from FTP servers.
- Seamlessly integrates with the main [FileSizeHandler](https://github.com/nassiry/filesize-handler) library.

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

[](#installation)

Install the extension via Composer:

```
composer require nassiry/filesize-handler-ftp-extension
```

Usage
-----

[](#usage)

```
use Nassiry\FileSizeUtility\FileSizeHandler;
use Nassiry\FileSizeUtility\Extensions\FtpFiles;

$handler = FileSizeHandler::create()
    ->from(new FtpFiles(
        'ftp.example.com',    // FTP host
        'ftp_user',           // FTP username
        'ftp_password',       // FTP password
        '/path/to/file.txt'   // File path on FTP server
    ))
    ->format();

echo $handler; // Output: "4.56 MiB"
```

### Contributing

[](#contributing)

Feel free to submit issues or pull requests to improve the package. Contributions are welcome!

### Changelog

[](#changelog)

See [CHANGELOG](CHANGELOG.md) for release details.

### License

[](#license)

This package is open-source software licensed under the [MIT license](LICENSE).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance48

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

2

Last Release

388d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d313e55474ce48c3b19820c784435215bb56c4497557b603583dcf59ba2270c?d=identicon)[nassiry](/maintainers/nassiry)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/nassiry-filesize-handler-ftp-extension/health.svg)

```
[![Health](https://phpackages.com/badges/nassiry-filesize-handler-ftp-extension/health.svg)](https://phpackages.com/packages/nassiry-filesize-handler-ftp-extension)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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