承接 jgivoni/flysystem-cache-adapter 相关项目开发

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

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

jgivoni/flysystem-cache-adapter

最新稳定版本:3.3

Composer 安装命令:

composer require jgivoni/flysystem-cache-adapter

包简介

A PSR-6 compliant adapter decorator for Flysystem v3 that caches file metadata to improve performance.

README 文档

README

QA

Changelog highlights

Overwiew

This is the PSR-6 compliant cache adapter for Flysystem v3 you're looking for! The objective is to transparently cache file metadata and thereby improve performance when looking up whether a file exists, checking it's size or modification date etc. It can be easily configured to work with in-memory cache, Redis, Memcached, Doctrine or the filesystem or any of the other adapters available from Symfony.

This library is not a direct fork of any other repository but written from scratch by me. I aim to keep it maintained, but I already consider it mature and there are no plans to add any new features.

Why this library?

It supports Flysystem v3 and is currently maintained, which makes it superior to these other alternatives that I was able to find.

  • league/flysystem-cached-adapter (only supports Flysystem v1 which is no longer maintained)
  • lustmored/flysystem-v2-simple-cache-adapter (doesn't appear to be maintained since January 2022)

In case you're wondering, the first version is called version 3 to match the Flysystem version it corresponds to.

Installation

composer require jgivoni/flysystem-cache-adapter

Example usage

$cache = new \Symfony\Component\Cache\Adapter\RedisAdapter(...);

$filesystemAdapter = new \League\Flysystem\AwsS3V3\AwsS3V3Adapter(...);

$cachedFilesystemAdapter = new \jgivoni\Flysystem\Cache\CacheAdapter($filesystemAdapter, $cache);

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 62
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固