rikta / repository
A basic abstraction for a repository/data-storage.
0.1.1
2021-09-28 20:55 UTC
Requires
- php: ^7.4|^8.0
- ext-json: *
Requires (Dev)
README
A basic abstraction for a repository/data-storage.
Essentially get
,set
&delete
in one Interface that could use be any data-source.
Includes implementations for array-based & file-based (with & w/o caching) storage.
(mostly intended to be used alongside rikta/query
)
Installation
composer require rikta/repository
Usage
Take a look into ./tests/AbstractRepositoryTestCase.php until I have refined the Readme ;)