PHPackages                             cacheful/magento2-module - 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. cacheful/magento2-module

ActiveMagento2-module[Caching](/categories/caching)

cacheful/magento2-module
========================

Cacheful Magento 2 client

1.0.3(6y ago)07.8k1MITPHP

Since May 28Pushed 6y agoCompare

[ Source](https://github.com/cacheful/magento2-module)[ Packagist](https://packagist.org/packages/cacheful/magento2-module)[ RSS](/packages/cacheful-magento2-module/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Cacheful Magento 2 Module
=========================

[](#cacheful-magento-2-module)

**Cacheful** offers a simple, yet powerful way to warm-up your website cache. This specific module for Magento 2 integrates with the cacheful API in order to initiate a warm-up process, either manually or automatically after your website cache has been flushed. This way the first page load for every request is handled by the server, so that no actual visitor has to deal with delay in page load.

Install with Composer
---------------------

[](#install-with-composer)

`composer require cacheful/magento2-module`

Quick start in 5 steps
----------------------

[](#quick-start-in-5-steps)

- Create a free account [on cacheful](https://cacheful.app).
- Create your first team and project.
- Go to `your settings -> API` and create your first API token.
- Copy your *project ID* and *API token* here:
    - `system config -> cacheful client -> connection`.
- Enable "Initiate warm-up after cache flush" option here:
    - `system config -> cacheful client -> general`.

Initiate warm-up manually
-------------------------

[](#initiate-warm-up-manually)

Run the following command to initiate a warm-up using your configured credentials.

`$ bin/magento cacheful:execute`

Initiate warm-up after cache flush
----------------------------------

[](#initiate-warm-up-after-cache-flush)

Enable "Initiate warm-up after cache flush" option in system configuration, so that the cache warm-up will be triggered after each cache flush as long as the project is idle, avoiding concurrent warm-up processes.

API endpoints
-------------

[](#api-endpoints)

You can also do API requests manually if you like, for example using Guzzle.

`/api/projects/:key/process`

**Headers**

```
{
  "Authorization": "Bearer :token",
  "Accept": "application/json"
}
```

Using Guzzle
------------

[](#using-guzzle)

```
    $url = 'https://cacheful.app/api/projects/%s/process';

    $projectId = 'your-project-id';
    $token = 'your-api-token';
    $requestUrl = sprintf($url, $projectId);

    $request = $client->request('POST', $requestUrl, [
        'headers' => [
            'Authorization' => 'Bearer ' . $token,
            'Accept'        => 'application/json',
        ]
    ]);

    if ($request->getStatusCode() === '200') {
        // successfully queued
    }
```

**Status codes**

- `200` when the process has been added to the queue successfully.
- `409` if the project status is `running` or `pending`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~35 days

Total

6

Last Release

2400d ago

Major Versions

0.1.1 → 1.0.02019-05-28

### Community

Maintainers

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

---

Top Contributors

[![imadphp](https://avatars.githubusercontent.com/u/33043295?v=4)](https://github.com/imadphp "imadphp (1 commits)")

### Embed Badge

![Health badge](/badges/cacheful-magento2-module/health.svg)

```
[![Health](https://phpackages.com/badges/cacheful-magento2-module/health.svg)](https://phpackages.com/packages/cacheful-magento2-module)
```

###  Alternatives

[svix/svix

Svix PHP Library

3.2k722.4k6](/packages/svix-svix)[eliashaeussler/cache-warmup

Composer package to warm up website caches, based on a given XML sitemap

73387.5k5](/packages/eliashaeussler-cache-warmup)[eliashaeussler/typo3-warming

Warming - Warms up Frontend caches based on an XML sitemap. Cache warmup can be triggered via TYPO3 backend or using a console command. Supports multiple languages and custom crawler implementations.

20229.9k](/packages/eliashaeussler-typo3-warming)[biigle/laravel-file-cache

Fetch and cache files from local filesystem, cloud storage or public webservers in Laravel

1130.9k1](/packages/biigle-laravel-file-cache)

PHPackages © 2026

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