imbo/imbo-adapters-sdk

SDK for Imbo adapters

dev-main 2023-04-08 12:16 UTC

This package is auto-updated.

Last update: 2024-04-19 23:34:30 UTC


README

CI

Installation

composer require imbo/imbo-adapters-sdk

Usage

SDK for storage and database adapters used with Imbo. This package contains some abstract integration test cases that must be used by all adapters for Imbo, making sure they all pass at least the common tests. Adapters should also add specific tests when needed.

The following table shows which test case you will need to extend to test your implementation of Imbos interfaces:

SDK base test case Imbo interface
Imbo\Database\DatabaseTests Imbo\Database\DatabaseInterface
Imbo\Storage\StorageTests Imbo\Storage\StorageInterface
Imbo\EventListener\ImageVariations\Database\DatabaseTests Imbo\EventListener\ImageVariations\Database\DatabaseInterface
Imbo\EventListener\ImageVariations\Storage\StorageTests Imbo\EventListener\ImageVariations\Storage\StorageInterface
Imbo\Auth\AccessControl\Adapter\MutableAdapterTests Imbo\Auth\AccessControl\Adapter\MutableAdapter

License

MIT, see LICENSE.