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

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

nassiry/filesize-handler-remote-extension
=========================================

Remote URL extension for FileSizeHandler.

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

Since Jan 7Pushed 1y ago1 watchersCompare

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

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

PHP FileSizeHandler - Remote File Extension
===========================================

[](#php-filesizehandler---remote-file-extension)

[![Packagist Downloads](https://camo.githubusercontent.com/5a6c962791efe863063ce24b1d82f2cd16de22d4b3895aea59b1e3190cf932ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6173736972792f66696c6573697a652d68616e646c65722d72656d6f74652d657874656e73696f6e)](https://camo.githubusercontent.com/5a6c962791efe863063ce24b1d82f2cd16de22d4b3895aea59b1e3190cf932ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6173736972792f66696c6573697a652d68616e646c65722d72656d6f74652d657874656e73696f6e)[![Packagist Version](https://camo.githubusercontent.com/f79f86be2498b6eb540d17ce2a692972af35f3fe003b8f2ca9ef7f8b1cdccb82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6173736972792f66696c6573697a652d68616e646c65722d72656d6f74652d657874656e73696f6e)](https://camo.githubusercontent.com/f79f86be2498b6eb540d17ce2a692972af35f3fe003b8f2ca9ef7f8b1cdccb82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6173736972792f66696c6573697a652d68616e646c65722d72656d6f74652d657874656e73696f6e)[![PHP](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)[![License](https://camo.githubusercontent.com/9e8c1f761831714a6fcbe73ab73a499f09870b0f2e3909de04999e509aa0b76c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6173736972792f66696c6573697a652d68616e646c65722d72656d6f74652d657874656e73696f6e)](https://camo.githubusercontent.com/9e8c1f761831714a6fcbe73ab73a499f09870b0f2e3909de04999e509aa0b76c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6173736972792f66696c6573697a652d68616e646c65722d72656d6f74652d657874656e73696f6e)

The **Remote File Extension** for [FileSizeHandler](https://github.com/nassiry/filesize-handler) enables support for retrieving file sizes from HTTP/HTTPS URLs.

### Features

[](#features)

- Fetch file sizes from HTTP/HTTPS URLs.
- 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-remote-extension
```

Usage
-----

[](#usage)

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

$handler = FileSizeHandler::create()
    ->from(new RemoteFiles(
        'https://example.com/file.zip'  // URL to the remote file
    ))
    ->format();

echo $handler; // Output: "12.34 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

28

—

LowBetter than 54% of packages

Maintenance48

Moderate activity, may be stable

Popularity5

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

385d 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-remote-extension/health.svg)

```
[![Health](https://phpackages.com/badges/nassiry-filesize-handler-remote-extension/health.svg)](https://phpackages.com/packages/nassiry-filesize-handler-remote-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.8M124](/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)
