PHPackages                             prestashop/module-lib-cache-directory-provider - 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. prestashop/module-lib-cache-directory-provider

ActiveProject[Caching](/categories/caching)

prestashop/module-lib-cache-directory-provider
==============================================

Cache directory provider to use on prestashop modules

v1.0.0(5y ago)0172.2k—7.8%12AFL-3.0PHPPHP &gt;=5.6.0

Since Sep 8Pushed 5y ago4 watchersCompare

[ Source](https://github.com/PrestaShopCorp/module-lib-cache-directory-provider)[ Packagist](https://packagist.org/packages/prestashop/module-lib-cache-directory-provider)[ RSS](/packages/prestashop-module-lib-cache-directory-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (2)

PrestaShop Cache Directory Provider for Modules
===============================================

[](#prestashop-cache-directory-provider-for-modules)

This repository provides the cache directory for PrestaShop modules.

Pre-requisites
--------------

[](#pre-requisites)

You should install this library only on a PrestaShop environment and with PHP 5.6.0 minimum.

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

[](#installation)

```
composer require prestashop/module-lib-cache-directory-provider

```

When this project is successfully added to your dependencies, you can add the new CacheDirectoryProvider to your module and use it.

Usage
-----

[](#usage)

To use this library, it's simple :

```
    $cacheDirectoryProvider = new CacheDirectoryProvider(
                _PS_VERSION_,
                _PS_ROOT_DIR_,
                _PS_MODE_DEV_
            );

```

With the getPath() function, you will retrieve the cache path of your module :

```
    $cacheDirectoryProvider->getPath();

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

2078d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15106407?v=4)[Jarvis](/maintainers/ps-jarvis)[@ps-jarvis](https://github.com/ps-jarvis)

---

Top Contributors

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

---

Tags

composerpackagemodulesprestashop

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prestashop-module-lib-cache-directory-provider/health.svg)

```
[![Health](https://phpackages.com/badges/prestashop-module-lib-cache-directory-provider/health.svg)](https://phpackages.com/packages/prestashop-module-lib-cache-directory-provider)
```

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M63](/packages/jean85-pretty-package-versions)[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975163.6k2](/packages/awssat-laravel-visits)

PHPackages © 2026

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