webmozart / key-value-store Goto Github PK
View Code? Open in Web Editor NEWA key-value store API with implementations for different backends.
License: MIT License
A key-value store API with implementations for different backends.
License: MIT License
Are you planning to release version compatible with PHP8.0?
Serializer::unserialize() declares mixed as parameter type and string as return type, and actual implementation does vise versa.
An interface Sortable
should be added to the API with the following method:
public function sort($flags = SORT_REGULAR);
This method sorts the store by its keys.
The supported sort flags are the standard PHP sort flags constants (http://de.php.net/sort).
Research needs to be done about which stores support sorting.
Does it make sense to add a REST API Store? Maybe using guzzlehttp or adding an interface for the client.
Just thought of this while visiting https://github.com/begriffs/postgrest
Hey there!
I just like your library and I'm using it for simple key-value stores :)
I recently upgraded to PHP 8.0 on my local machine and discovered this is not supported by this library.
Timon
Ditto for webmozart/json. Last commit was 6 years ago, and there are major unresolved issues, especially PHP 8 compatibility (webmozart/json#40 and #27).
If these packages are truly abandoned, please mark them as such here and on Packagist.
See here for what I mean: https://github.com/terah/cache-pools/blob/master/src/CachePools.php#L135
KeyValueStore implementations should implement Countable, where possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.