rikta/repository

A basic abstraction for a repository/data-storage.

0.1.1 2021-09-28 20:55 UTC

This package is auto-updated.

Last update: 2024-10-29 03:23:19 UTC


README

packagist name version php version

license GitHub commit activity open issues closed issues

ci dependabot maintainability score tech debt % maintainability issues

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 ;)