PHPackages                             bavix/glow-kit - 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. [Image &amp; Media](/categories/media)
4. /
5. bavix/glow-kit

AbandonedArchivedLibrary[Image &amp; Media](/categories/media)

bavix/glow-kit
==============

A set for working with an image

2.0.0(5y ago)224MITPHPPHP ^7.3

Since Jul 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bavix/glow-kit)[ Packagist](https://packagist.org/packages/bavix/glow-kit)[ RSS](/packages/bavix-glow-kit/feed)WikiDiscussions master Synced 6d ago

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

[![Glow Kit](https://user-images.githubusercontent.com/5111255/47511169-50ef2c80-d882-11e8-8718-1ecabddb8a7d.png)](https://user-images.githubusercontent.com/5111255/47511169-50ef2c80-d882-11e8-8718-1ecabddb8a7d.png)

[![Mutation testing badge](https://camo.githubusercontent.com/c1ce791f42da46cac970ca6d6576a803fa4f60c0ab255d15d7c86a73f887b4f8/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f62617669782f676c6f772d6b69742f6d6173746572)](https://packagist.org/packages/bavix/glow-kit)[![Package Rank](https://camo.githubusercontent.com/0f90ca19bd5796c6de2e53875dc026e88656b30974436f3c787ad8188d276b5d/68747470733a2f2f7068707061636b616765732e6f72672f702f62617669782f676c6f772d6b69742f62616467652f72616e6b2e737667)](https://packagist.org/packages/bavix/glow-kit)[![Latest Stable Version](https://camo.githubusercontent.com/c42144eaca1abae35803e09d7212092328413cf0603f2d6b2204aa39074b3f77/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f676c6f772d6b69742f762f737461626c65)](https://packagist.org/packages/bavix/glow-kit)[![Latest Unstable Version](https://camo.githubusercontent.com/41d92b479460f740dcd2296eaed4b713e32675c64a03b51345d0a20948944039/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f676c6f772d6b69742f762f756e737461626c65)](https://packagist.org/packages/bavix/glow-kit)[![License](https://camo.githubusercontent.com/bfc230243ebec884884ea10e3d4db32ffb4a5bce69f7674823e6807113afc87b/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f676c6f772d6b69742f6c6963656e7365)](https://packagist.org/packages/bavix/glow-kit)

glow-kit - A set for working with an image.

- **Vendor**: bavix
- **Package**: glow-kit
- **Version**: [![Latest Stable Version](https://camo.githubusercontent.com/703e18ab4515ec8ea79e201ba9e1de5f4cdf2e5d99cde36d31361c7daf4db562/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d77616c6c65742f762f737461626c65)](https://packagist.org/packages/bavix/glow-kit)
- **PHP Version**: 7.3+
- **[Composer](https://getcomposer.org/):** `composer require bavix/glow-kit`

### Get started

[](#get-started)

The library implements simple algorithms for working with images.

- Scale Down
- Contain
- Cover
- Fit

#### Fit Image

[](#fit-image)

```
use Intervention\Image\ImageManagerStatic;
use Bavix\Glow\Adapters\Fit;

$adapter = new Fit(ImageManagerStatic::getManager());
$image = ImageManagerStatic::make(__DIR__ . '/image.jpg');
$result = $adapter->apply($image, [
    'width' => '300',
    'height' => '300',
]);

$result->save(__DIR__ . '/output.jpg');
```

#### Contain Image

[](#contain-image)

```
use Intervention\Image\ImageManagerStatic;
use Bavix\Glow\Adapters\Contain;

$adapter = new Contain(ImageManagerStatic::getManager());
$image = ImageManagerStatic::make(__DIR__ . '/image.jpg');
$result = $adapter->apply($image, [
    'width' => '300',
    'height' => '300',
]);

$result->save(__DIR__ . '/output.jpg');
```

#### Cover Image

[](#cover-image)

```
use Intervention\Image\ImageManagerStatic;
use Bavix\Glow\Adapters\Cover;

$adapter = new Cover(ImageManagerStatic::getManager());
$image = ImageManagerStatic::make(__DIR__ . '/image.jpg');
$result = $adapter->apply($image, [
    'width' => '300',
    'height' => '300',
]);

$result->save(__DIR__ . '/output.jpg');
```

---

Supported by

[![Supported by JetBrains](https://camo.githubusercontent.com/426b71c1485422e61c59d8b7fec03f4ba626dd77443847c0a14053491eb8fc4a/68747470733a2f2f63646e2e7261776769742e636f6d2f62617669782f646576656c6f706d656e742d7468726f7567682f34363437356234622f6a6574627261696e732e737667)](https://www.jetbrains.com/)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

2084d ago

Major Versions

0.0.1 → 1.0.02020-08-21

1.0.0 → 2.0.02020-08-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/266f28651b740a279e636ef42fadcc7d72941c7a4bf9a29c4fd62c72476f0c0e?d=identicon)[REZ1DENT3](/maintainers/REZ1DENT3)

---

Top Contributors

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

---

Tags

croppingimageimageskitpackageresizing-imagesthumbnailthumbnail-generatorthumbnailsthumbsimageresizecropWebppacked

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bavix-glow-kit/health.svg)

```
[![Health](https://phpackages.com/badges/bavix-glow-kit/health.svg)](https://phpackages.com/packages/bavix-glow-kit)
```

###  Alternatives

[sybio/image-workshop

Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)

860918.1k11](/packages/sybio-image-workshop)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[ctessier/nova-advanced-image-field

An advanced image field for Nova with cropping and resizing.

103548.4k1](/packages/ctessier-nova-advanced-image-field)[jbzoo/image

A PHP class that simplifies working with images

171126.9k3](/packages/jbzoo-image)[stefangabos/zebra_image

A single-file, lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters

141110.4k6](/packages/stefangabos-zebra-image)

PHPackages © 2026

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