承接 tevtex/module-cachemanagement 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tevtex/module-cachemanagement

最新稳定版本:1.0.0

Composer 安装命令:

composer require tevtex/module-cachemanagement

包简介

A Magento 2 module providing Adobe Commerce's cache management via API.

README 文档

README

Module to enable cache management in Magento 2 using API.

It adds the following API endpoints to your Magento application:

API Endpoints

Enable all or specific cache types

PUT /V1/tevtex/cache/enable

(Optionally pass the cache types to enable, defaults to all cache types)
{
  "cache_types":[
    "eav",
    "config",
  ]
}

Disable all cache types

PUT /V1/tevtex/cache/disable

(Optionally pass the cache types to disable, defaults to all cache types)
{
  "cache_types":[
    "eav",
    "config",
  ]
}

Clean all or specific cache types.

POST /V1/tevtex/cache/clean

(Optionally pass the cache types to clean, defaults to all cache types)
{
  "cache_types":[
    "eav",
    "config",
    ...
  ]
}

Flush all or specific cache types.

POST /V1/tevtex/cache/flush

(Optionally pass the cache types to flush, defaults to all cache types)
{
    "cache_types":[
        "eav",
        "config",
        ...
    ]
}

Note: The API endpoints are secured and require the Magento_Backend::cache resource access right for authorization.

Installation

Simply run the following command to install the module using composer

composer require tevtex/module-cachemanagement

Usage

Enable the module using following command:

bin/magento module:enable Tevtex_CacheManagement
bin/magento setup:upgrade

Enable the configuration using one of the following ways:

Using Admin Panel

Visit the following location in admin panel and enable the module

Stores > Configuration > TEVTEX > Cache Management > General > Enabled

Cache Management

Using Command Line

Run the following command to enable the module

bin/magento config:set tevtex_cachemanagement/general/enabled 1

Contribute

Feel free to submit pull requests, create issues or spread the word.

License

MIT © Ahmad Farzan

统计信息

  • 总下载量: 2.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2023-07-07