imbo / imbo-adapters-sdk
SDK for Imbo adapters
Installs: 2 281
Dependents: 8
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=8.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.70
- imbo/imbo: dev-main
- imbo/imbo-coding-standard: ^2.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^12.0
This package is auto-updated.
Last update: 2025-02-23 16:17:58 UTC
README
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.