Search by

johnnyxlemonade / admin-image

johnnyxlemonade

Reusable Lemonade module image URL delivery over the Framework image pipeline.

Package info

github.com/johnnyxlemonade/admin-image

pkg:composer/johnnyxlemonade/admin-image

Statistics

Installs: 258

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-10-13 07:43 UTC

This package is auto-updated.

Last update: 2026-10-13 11:01:47 UTC


README

PHPStan Tests Coding Standards License

johnnyxlemonade/admin-image provides image identifiers, variant definitions, and public image delivery for Lemonade Framework applications. It exposes ImageAssetResolverInterface for resolving source images and registers the public endpoint that delivers a declared variant.

The package does not own upload persistence, file lifecycle, or a media catalogue. Those responsibilities belong to the consuming platform or host application. Image variants are declarative delivery definitions; the resolver remains authoritative for whether a source image is available.

Installation

The package requires PHP >=8.3 <8.6 and johnnyxlemonade/framework.

composer require johnnyxlemonade/admin-image:dev-main

Register Lemonade\Image\ImagePackageServiceProvider in the host application, bind ImageAssetResolverInterface to the owner of image metadata, and register the image variants the host is allowed to deliver.

Package boundaries

  • johnnyxlemonade/framework owns the base runtime and image processing primitives.
  • Admin Image owns public image identifiers, variant registration, and delivery.
  • The consuming platform or host owns original persistence, authorization, and source availability.

Development and QA

From the package root, run:

composer cs:check
composer stan
composer test
composer qa