PHPackages                             aimeos/ai-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. aimeos/ai-cache

ActiveAimeos-extension[Caching](/categories/caching)

aimeos/ai-cache
===============

Cache extension for Aimeos e-commerce solutions

2025.10.1(7mo ago)917.9k↓100%3LGPL-3.0-or-laterPHPPHP ^8.0.11

Since Jul 20Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/aimeos/ai-cache)[ Packagist](https://packagist.org/packages/aimeos/ai-cache)[ Docs](https://aimeos.org)[ RSS](/packages/aimeos-ai-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (107)Used By (0)

[ ![Aimeos logo](https://camo.githubusercontent.com/e55b7a8426f14ba6040d604746b03b7e096af41ede8fead0ea817cbb8d60f998/68747470733a2f2f61696d656f732e6f72672f66696c6561646d696e2f74656d706c6174652f69636f6e732f6c6f676f2e706e67 "Aimeos")](https://aimeos.org/)Aimeos cache extension
======================

[](#aimeos-cache-extension)

[![Build Status](https://camo.githubusercontent.com/9c8c8159574da24da5d947b7bf9e35f4d5c842663063192da353fd0da17d17d1/68747470733a2f2f636972636c6563692e636f6d2f67682f61696d656f732f61692d63616368652e7376673f7374796c653d736869656c64)](https://circleci.com/gh/aimeos/ai-cache)[![Coverage Status](https://camo.githubusercontent.com/989de89e2eb56001da714e68c631173bd65aaf7a50b7d54f70490f70fd7827b8/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f61696d656f732f61692d63616368652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/aimeos/ai-cache?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b595d3b84c3461995cbb89f0f893342d187d3a997d1f0e2b83a678b1b7adc770/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61696d656f732f61692d63616368652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aimeos/ai-cache/?branch=master)[![License](https://camo.githubusercontent.com/7d55c07ee2c17320292738e154c26f8048fa7f50fa88eb6e128bdcf6f22407ac/68747470733a2f2f706f7365722e707567782e6f72672f61696d656f732f61692d63616368652f6c6963656e73652e737667)](https://packagist.org/packages/aimeos/ai-cache)

The Aimeos cache extension contains alternative cache implementations to the database caching of the core. They can be used by Aimeos web shops to offload generated HTML web site parts to other services like specialized key/value stores.

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Configuration](#configuration)
    - [Redis](#redis)
- [License](#license)
- [Links](#links)

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

[](#installation)

As every Aimeos extension, the easiest way is to install it via [composer](https://getcomposer.org/). If you don't have composer installed yet, you can execute this string on the command line to download it:

```
php -r "readfile('https://getcomposer.org/installer');" | php -- --filename=composer

```

To add the extionsion to your composer-based installation, execute:

```
composer req "aimeos/ai-cache"

```

These command will install the Aimeos extension into the extension directory and it will be available immediately.

Configuration
-------------

[](#configuration)

The ways of adding the required resource configuration depends on the software you are using because all have their own means to do that. Here are some examples:

**Laravel** (in config/shop.php):

```
return [
    ...
    'resource' => [
        ...
        'cache' => [
            '' => [
                ...
            ],
        ],
    ],
];

```

**Symfony** (in app/config/config.yml):

```
aimeos_shop:
    resource:
        cache:
            :
                ...

```

**TYPO3** (via TypoScript in the setup template):

```
plugin.tx_aimeos.settings.resource.cache {
     {
        ...
    }
}

```

### Redis

[](#redis)

[Redis](http://www.redis.io/) is an in-memory caching server known for its speed and advanced features. It supports not only plain key/value pairs but also lists for values used by Aimeos for tagging cached entries. This allows a fine control of removing outdated HTML parts.

After you've set up a Redis server, you need to tell your Aimeos shop installation how to connect to this server. The cache extension is using the [Predis library](https://github.com/nrk/predis) and supports all configuration options available. The resource configuration consists of the name "redis" ( in the introduction to the config section) and the list of configuration key/value pairs, e.g.

**Symfony**:

```
aimeos_shop:
    resource:
        cache:
            redis:
                scheme: tcp
                host: 10.0.0.1
                port: 6379

```

**TYPO3**:

```
plugin.tx_aimeos.settings.resource.cache {
    redis {
        scheme = tcp
        host = 10.0.0.1
        port = 6379
    }
}

```

Please have a look at the fine [Predis readme](https://github.com/nrk/predis) for all available options.

License
-------

[](#license)

The Aimeos cache extension is licensed under the terms of the LGPLv3 Open Source license and is available for free.

Links
-----

[](#links)

- [Web site](https://aimeos.org/)
- [Documentation](https://aimeos.org/docs)
- [Help](https://aimeos.org/help)
- [Issue tracker](https://github.com/aimeos/ai-cache/issues)
- [Source code](https://github.com/aimeos/ai-cache)

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance77

Regular maintenance activity

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99% 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 ~36 days

Recently: every ~47 days

Total

105

Last Release

213d ago

Major Versions

2021.10.4 → 2022.04.12022-04-05

2022.10.x-dev → 2023.01.x-dev2023-01-03

2023.10.1 → 2024.01.x-dev2024-01-03

2023.10.x-dev → 2024.10.x-dev2025-03-06

2024.10.x-dev → 2025.04.12025-04-03

PHP version history (5 changes)2016.01.1PHP &gt;=5.3.3

2019.01.x-devPHP &gt;=5.5.0

2020.01.x-devPHP ~7.1

2020.10.2PHP ~7.1||~8.0

2023.04.x-devPHP ^8.0.11

### Community

Maintainers

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

---

Top Contributors

[![aimeos](https://avatars.githubusercontent.com/u/8647429?v=4)](https://github.com/aimeos "aimeos (193 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")

---

Tags

cacheextensionshope-commerceaimeos

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aimeos-ai-cache/health.svg)

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

###  Alternatives

[aimeos/ai-laravel

Laravel adapter for Aimeos e-commerce integration

971228.8k2](/packages/aimeos-ai-laravel)[aimeos/ai-typo3

TYPO3 adapter for Aimeos e-commerce integration

95392.1k1](/packages/aimeos-ai-typo3)[aimeos/ai-symfony

Symfony adapter for Aimeos e-commerce integration

1012.0k2](/packages/aimeos-ai-symfony)[undefinedor/yii2-cached-active-record

The cached activeRecord for the Yii2 framework

102.6k](/packages/undefinedor-yii2-cached-active-record)

PHPackages © 2026

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