PHPackages                             fewdji/ii-cache - 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. [Caching](/categories/caching)
4. /
5. fewdji/ii-cache

ActiveLibrary[Caching](/categories/caching)

fewdji/ii-cache
===============

Caching extension for the Laravel and Intervention Image Package.

08PHP

Since Oct 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fewdji/ii-cache)[ Packagist](https://packagist.org/packages/fewdji/ii-cache)[ RSS](/packages/fewdji-ii-cache/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

IICache
-------

[](#iicache)

Caching extension for the Laravel and Intervention Image Package

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

[](#installation)

```
composer require fewdji/ii-cache

```

Setup
-----

[](#setup)

Create the symlink for the directory of cached images

```
ln -s {PROJECT_DIR}/storage/app/public/images {PROJECT_DIR}/public/images

```

Publish the config file

```
php artisan vendor:publish

```

Setup presets for your images in `config/ii-cache.php` file. All InterventionImage class methods are available.

```
'presets' => [
        'hq' => [
            'widen' => '720',
            'watermark' => 'default'
        ],

        'sd' => [
            'resize' => ['120', '120'],
            'quality' => '85'
        ]
    ],

    'watermarks' => [
        'default' => [
            'path' => 'img/copy.png',
            'size' => '10',
            'position' => 'bottom-right',
            'opacity' => '90'
        ]
    ]

```

Usage
-----

[](#usage)

Put your original images in `storage/app/private/images`. And then you can access to modified cached images with links like `images/directory/presetName/imgName.ext` or use built-in blade directive

```
@image('tag', ['avatars', 'user1.jpg', 'sd', ['alt' => 'User 1']])
// will output
//

```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3474eb8b3754599770a87af485ae8b9ea5c87512c832d0c04496a68c8e34d244?d=identicon)[fewdji](/maintainers/fewdji)

---

Top Contributors

[![fewdji](https://avatars.githubusercontent.com/u/13124598?v=4)](https://github.com/fewdji "fewdji (10 commits)")

### Embed Badge

![Health badge](/badges/fewdji-ii-cache/health.svg)

```
[![Health](https://phpackages.com/badges/fewdji-ii-cache/health.svg)](https://phpackages.com/packages/fewdji-ii-cache)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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