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

2026.04.1(3mo ago)918.2k3LGPL-3.0-or-laterPHPPHP ~8.1CI failing

Since Jul 20Pushed 2mo 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 1w ago

READMEChangelogDependencies (6)Versions (110)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

59

—

FairBetter than 98% of packages

Maintenance83

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity89

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

Total

108

Last Release

101d ago

Major Versions

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.32025-03-06

2024.10.x-dev → 2025.04.x-dev2025-04-03

2025.10.x-dev → 2026.04.12026-04-28

PHP version history (6 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.1PHP ^8.0.11

2026.04.1PHP ~8.1

### 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 (197 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/aimeos-laravel

Cloud native, API first Laravel eCommerce package with integrated AI for ultra-fast online shops, marketplaces and complex B2B projects

8.7k230.3k5](/packages/aimeos-aimeos-laravel)[aimeos/ai-cms-grapesjs

Aimeos GrapesJS CMS extension

1.0k120.5k2](/packages/aimeos-ai-cms-grapesjs)[aimeos/ai-typo3

TYPO3 adapter for Aimeos e-commerce integration

1.0k95.2k2](/packages/aimeos-ai-typo3)[aimeos/ai-admin-jqadm

Aimeos VueJS+Bootstrap admin backend

1.1k355.7k19](/packages/aimeos-ai-admin-jqadm)[aimeos/ai-client-html

Aimeos standard HTML frontend

1.1k359.4k17](/packages/aimeos-ai-client-html)[aimeos/ai-controller-frontend

Aimeos business controller logic for frontend

1.0k355.8k21](/packages/aimeos-ai-controller-frontend)

PHPackages © 2026

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