PHPackages                             alex-kalanis/kw\_images - 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. [Database &amp; ORM](/categories/database)
4. /
5. alex-kalanis/kw\_images

ActiveLibrary[Database &amp; ORM](/categories/database)

alex-kalanis/kw\_images
=======================

Processing images in KWCMS

v5.1.0(10mo ago)01BSD-3-ClausePHPPHP &gt;=7.4.0CI passing

Since Mar 7Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/kw_images)[ Packagist](https://packagist.org/packages/alex-kalanis/kw_images)[ RSS](/packages/alex-kalanis-kw-images/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (10)Dependencies (9)Versions (22)Used By (0)

kw\_images
==========

[](#kw_images)

[![Build Status](https://github.com/alex-kalanis/kw_images/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/kw_images/actions/workflows/code_checks.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f3faa5a60dad4efcf9ecc016881a63a92744859c57085ce6279bf7954c676ce8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f696d616765732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-kalanis/kw_images/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/fbb1a58be82bf3a8ba1b578dcee1cd3b24c527b9648948d2b88dfbd1cac26052/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f696d616765732f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_images)[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/98a420dcf4cd51f0908d93fb2ec8af66482eef6ec9a73c849c1cb45a013a7dcd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f6b775f696d616765732e7376673f7631)](https://packagist.org/packages/alex-kalanis/kw_images)[![License](https://camo.githubusercontent.com/263a09dd4f58d3be1a5f2248c997ae911944f7c1d5c8c5eb14f53f889cac7332/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f696d616765732f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_images)[![Code Coverage](https://camo.githubusercontent.com/c2a8fa63c8aba3097a50eab18925bce89756d92cc729f1d6b941195a9213a398/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f696d616765732f6261646765732f636f7665726167652e706e673f623d6d617374657226763d31)](https://scrutinizer-ci.com/g/alex-kalanis/kw_images/?branch=master)

Gallery on (remote) file system tree.

Working with images in tree-like gallery. Usually these libraries uses volume as their data source, but it is possible to set different (external) storage and use it. Just a few things cannot be done remotely and these will dump processed content locally and after changes returns it back to the storage.

PHP Installation
----------------

[](#php-installation)

```
composer.phar require alex-kalanis/kw_images
```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

PHP Usage
---------

[](#php-usage)

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Add some external packages with connection to the local or remote services.

3.) Connect the "kalanis\\kw\_images\\FilesHelper" into your app. Extends it for setting your case.

4.) Extend your libraries by interfaces inside the package.

5.) Just call setting and render in controllers

```
// Somewhere in DI
return function ($params): \kalanis\kw_images\Content\Images {
    return (new \kalanis\kw_images\Access\Factory())->getImages($params);
}
```

```
// Classes
class ProcessImages
{
    public function __construct(
        // ...
        protected readonly \kalanis\kw_images\Content\Images $images,
        // ...
    ) {}

    public function rotate(string $file, float $angle): bool
    {
        $path = (new \kalanis\kw_paths\ArrayPath())->setString($file);
        return $this->images->rotate($path->getArray(), $angle);
    }
}
```

### Changes

[](#changes)

- 1.0 - initial version
- 2.0 - has remote as storage, no volume operation directly here
- 3.0 - has updated paths and following libraries
- 4.0 - has updated code style and all libraries underneath
- 5.0 - uses DateTime, tests with separated classes

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance53

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~83 days

Total

21

Last Release

326d ago

Major Versions

v1.1.0 → v2.0.02022-10-10

v2.2.1 → v3.0.02023-05-09

v3.1.4 → v4.0.02024-04-04

v4.4.0 → v5.0.02025-05-08

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v4.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/499b0a541b787cdb31412f578c7b94c9790bcbee7de12c65b6101c6ce45ef6f0?d=identicon)[alex-kalanis](/maintainers/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (58 commits)")

---

Tags

sqlimages

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-kw-images/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-kw-images/health.svg)](https://phpackages.com/packages/alex-kalanis-kw-images)
```

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k37.7M472](/packages/spatie-laravel-medialibrary)[doctrine/sql-formatter

a PHP SQL highlighting library

1.9k166.0M85](/packages/doctrine-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[catfan/medoo

The lightweight PHP database framework to accelerate development

4.9k1.5M194](/packages/catfan-medoo)

PHPackages © 2026

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