PHPackages                             codeseasy/imagehandler - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. codeseasy/imagehandler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codeseasy/imagehandler
======================

A package to get remote image file size

1.0.1(4y ago)310MITPHP

Since May 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/VishnuSivadasVS/ImageHandler)[ Packagist](https://packagist.org/packages/codeseasy/imagehandler)[ Docs](https://github.com/vishnusivadasvs/ImageHandler)[ RSS](/packages/codeseasy-imagehandler/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

ImageHandler
============

[](#imagehandler)

A package to get remote image file size and other details

Install the package using composer
----------------------------------

[](#install-the-package-using-composer)

```
composer require codeseasy/imagehandler

```

Require autoload.php

```
require "vendor/autoload.php";
```

Install without composer
------------------------

[](#install-without-composer)

```
require "src/ImageHandler.php";
```

How to use:

```
use codeseasy\imagehandler\ImageHandler;

$url = "https://demo.codeseasy.com/assets/images/ImageHandler.jpg";

$imageHandler = new ImageHandler();
echo $imageHandler->getRemoteImageSize($url);
```

Image size is in bytes.

Example Output:

```
{
  "0": 640,
  "1": 427,
  "2": 2,
  "3": "width=\"640\" height=\"427\"",
  "bits": 8,
  "channels": 3,
  "mime": "image/jpeg",
  "ext": "jpeg",
  "size": 40329
}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

1503d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/codeseasy-imagehandler/health.svg)

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

###  Alternatives

[fsi/datagrid

FSi DataGrid Component

2762.7k2](/packages/fsi-datagrid)[runner/heshen

finite state machine

193.1k2](/packages/runner-heshen)

PHPackages © 2026

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