PHPackages                             yuzhua/efficient-cache-tools - 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. yuzhua/efficient-cache-tools

ActiveN[Caching](/categories/caching)

yuzhua/efficient-cache-tools
============================

The company has internally connected the front-end site management cache toolkit of the operation center console

00PHP

Since Dec 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yuzhua-fangzhen/efficient-cache-tools)[ Packagist](https://packagist.org/packages/yuzhua/efficient-cache-tools)[ RSS](/packages/yuzhua-efficient-cache-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

EfficientCacheTools
===================

[](#efficientcachetools)

[![Minimum PHP Version](https://camo.githubusercontent.com/e97290c4047b8fc1152177fc8110cab416f31f18159b722b6b633a210a198861/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e737667)](https://php.net/)

> 本扩展包仅供团队内部使用，以下流程为公司前台项目对接文档，如果发现此包有 bug，欢迎随时提 PR，希望各位同学使用愉快。
>
> 仓库地址：
>
> 包地址：

安装
--

[](#安装)

```
composer require yuzhua/efficient-cache-tools dev-main
```

运行环境
----

[](#运行环境)

- PHP &gt;= 5.6
- Composer

前台生成缓存时推送运营中台消费队列参数说明
---------------------

[](#前台生成缓存时推送运营中台消费队列参数说明)

参数描述类型备注是否必填示例project品牌IDinteger是2type事业群IDinteger是4platform\_class平台分类integer见CacheManageEnum类枚举是1page\_title页面标题string自定义是商标列表页data\_type\_one数据类型一级integer见CacheManageEnum类枚举是1data\_type\_two数据类型二级integer见CacheManageEnum类枚举是1center\_slug运营中台标识string非必填否home-branerop\_conn\_status是否对接运营中台integer见CacheManageEnum类枚举是1driver\_type缓存驱动类型integer见CacheManageEnum类枚举是1cache\_type缓存类型integer见CacheManageEnum类枚举是1cache\_name缓存名称string必须与项目操作的换名对应是mh:getBanner1cache\_data缓存内容array内容为运营中台接口的返回值是valid\_time缓存时间integer单位(秒)是600extra\_info扩展信息array自定义,无特殊情况传入请求运营中台的接口入参否```
  以下示例均以laravel框架进行,后续各平台对接自行调整

```

### 使用说明

[](#使用说明)

```
