sightpress / plugin-image-finder
The official SightPress plugin for finding and adding images.
Package info
github.com/sightpress/sightpress-plugin-image-finder
Type:sightpress-plugin
pkg:composer/sightpress/plugin-image-finder
Requires
- php: ^8.4
- sightpress/plugin-core: ^1.0
Requires (Dev)
- deptrac/deptrac: ^4.0
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^13.0
- rector/rector: ^2.0
- sightpress/core: ^1.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-06 09:41:39 UTC
README
sightpress/plugin-image-finder: the official SightPress plugin for finding
images. Licensed GPL-2.0-or-later.
Status: M0 scaffolding in place (manifest, bundle, quality gates, CI); features arrive in milestone M8.
It lets creators search free and paid image providers from the media library and the editors, with every result described in words, and add the chosen image to the site through the same checks as an upload, then the usual describe step — images are always copied, never hotlinked, and alt text is always written by a person.
- Openverse and Wikimedia Commons need no account.
- Pexels and Pixabay need a free API key; Shutterstock, Adobe Stock and Getty Images/iStock use the site's own paid account.
- Providers are adapters behind
ImageProviderInterfacein itsContract\namespace, connected install-wide withphp bin/console sightpress:image-finder:setup. - It fills in each image's core credit and licence, keeps provider and purchase records, and enforces a monthly spending limit for paid images that each site sets.
Development
composer install vendor/bin/phpunit # on PluginTestCase, enabled and disabled vendor/bin/phpstan analyse npx playwright test # every manifest route, with axe-core
Fake providers and recorded responses only; CI never uses real keys. Check out
sightpress/core as a sibling and require it with COMPOSER=composer.dev.json composer install to run the test kernel.