Storage
Key-value operations and CAS through a dedicated PHP process.
Installation
Section titled “Installation”composer config repositories.localzet-storage vcs https://github.com/localzet/Storagecomposer require localzet/storage:dev-mainIn-memory storage
Section titled “In-memory storage”localzet\Storage\Client exposes set/get/add/increment/delete/cas and magic key access. The server processes frame messages and stores data in a process-local array. This does not imply disk durability, replication or distributed transactions. CAS compares md5 of the serialized old value; it is not cryptographic authentication.
Server::onMessage invokes unserialize($buffer) without disabling classes, and authentication is not evident in the handler. Do not accept untrusted clients or expose the port until the protocol is fixed. The historical constructor binds 0.0.0.0:8008, so even local experiments need explicit isolation. Read source and manifest together: legacy dependencies still require runtime validation.
Requirements
Section titled “Requirements”- php: ^8.2
- localzet/server: ^4.1
Source · AGPL-3.0