Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filesystem Adapter Laravel Package

cache/filesystem-adapter

A PSR-6 cache adapter for Laravel/PHP using Flysystem to store cache files in a filesystem. Store, retrieve, and manage cache efficiently with filesystem-backed persistence. Supports tagging, hierarchy, and easy configuration via setFolder(). Ideal for Laravel applications needing scalable caching s...

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: PSR-6 compliance technically allows integration with Laravel's cache system, but Laravel's native file driver already provides filesystem-based caching with deeper framework integration. This package adds unnecessary abstraction layer without solving problems Laravel's built-in solution doesn't address. Flysystem dependency introduces complexity when Laravel's native implementation uses standard filesystem operations.

Integration feasibility: Low. Requires creating a custom Laravel cache driver to wrap the PSR-6 adapter, whereas Laravel's native file driver requires zero configuration. The package's lack of Laravel-specific documentation or community examples increases implementation friction. Composer dependency conflicts possible with newer Flysystem versions (current Laravel uses league/flysystem 3.x, while this package's dependencies are unspecified).

Technical risk: High. No updates since 2022, zero dependents, and no active issue resolution (only 3 open issues in 2 years). Filesystem cache inherently lacks horizontal scaling capability and has race conditions during concurrent writes. Potential security risks from unpatched vulnerabilities in stale dependencies.

Key questions: Why not use Laravel's built-in file driver? What specific requirements does this package fulfill that Laravel's native solution doesn't? Is there a need for Flysystem-specific features when Laravel's storage system already handles Flysystem adapters for file operations?

Integration Approach

Stack fit: Poor. Laravel's native cache system natively supports filesystem caching via config/cache.php with zero additional dependencies. This package would replace a mature, battle-tested solution with an unsupported alternative that adds unnecessary complexity.

Migration path: Not recommended. If forced, would require: 1) Creating a custom FilesystemAdapter class implementing Laravel's Cache\Store interface, 2) Wrapping the PSR-6 pool in this adapter, 3) Registering the custom driver in AppServiceProvider. This introduces maintenance burden for no functional benefit.

Compatibility: Uncertain. Last release predates Laravel 9/10 and PHP 8.2+. Flysystem 2.x vs 3.x compatibility unknown. Laravel's cache system expects specific behaviors (e.g., putMany, increment) that may not be properly implemented in this PSR-6 adapter.

Sequencing: Avoid integration entirely. For filesystem caching needs, use Laravel's native implementation with `php artisan cache:clear

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4