New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

prestashop/module-lib-cache-directory-provider

Cache directory provider to use on prestashop modules
222,674
Install
composer require prestashop/module-lib-cache-directory-provider
Latest Version:v1.0.0
PHP:>=5.6.0
License:AFL-3.0
Last Updated:Sep 8, 2020
Links: GitHub  ·  Packagist
Maintainer: ps-jarvis

PrestaShop Cache Directory Provider for Modules

This repository provides the cache directory for PrestaShop modules.

Pre-requisites

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

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

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();

Related Packages

prestashop/module-lib-service-container

Service container to use on prestashop modules

221,039 7
kryptonpay/kryptonpay-php-sdk

Integração com API Krypton Pay em PHP

2,589 0
cpx/cpx

Run any command from any composer package, even if it's not installed in your pr...

102,725 541
atnic/laravel-inspinia

Laravel Package for integrating Inspinia template and this package is Laravel Mi...

4,220 16
ollywarren/makepackage

Implements a Artisan command to scaffold out laravel composer packages

2,685 6

Version History

Version Released PHP License
v1.0.0 >=5.6.0 AFL-3.0