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

Array Adapter Laravel Package

cache/array-adapter

PSR-6 cache pool implemented with an in-memory PHP array. Zero configuration: just instantiate ArrayCachePool for fast, ephemeral caching in tests or single-request use. Part of the PHP Cache ecosystem with shared docs and optional features info.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Strictly for in-memory, request-scoped caching. Zero production suitability; only viable for isolated testing or development scenarios where cache persistence isn't required. Laravel's native cache system uses PSR-16 (simple cache), while this package is PSR-6-compliant, creating a compatibility mismatch that requires additional bridging logic.
Integration feasibility: Low for production use cases. Requires custom PSR-6-to-PSR-16 adapter implementation to integrate with Laravel's Cache facade, which adds complexity and maintenance overhead. Not feasible for shared or persistent caching needs.
Technical risk: High risk of accidental production deployment due to simplicity of setup. Data loss on request termination, memory exhaustion in long-running processes (e.g., Swoole), and lack of TTL auto-pruning could cause subtle bugs. No active maintenance (last release 2022) increases vulnerability to PHP version

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.
croct/coding-standard
croct/plug-php
nqxcode/phpmorphy
boundwize/pyrameter
testo/facade
headercat/phpstan-extension-ide-helper
yosymfony/parser-utils
innmind/black-box
babenkoivan/elastic-migrations
babenkoivan/elastic-adapter
develia/commons
dmstr/symfony-system-resources-bundle
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
renatomarinho/laravel-page-speed
develia/geo-bundle
austinheap/laravel-database-encryption
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle