el-schneider/statamic-ai-labels
Statamic AI Labels is a Statamic addon that brings AI-powered labeling to your content workflow, automatically generating labels and tags for entries so editors can organize, filter, and find content faster with less manual work. Built for Laravel-based Statamic sites.
padding value is expressed as a fraction of badge width rather than absolute pixels, which means a single spacing rule survives badge resizing across the four or five image aspect ratios a catalog typically has. That lets design specify one number instead of a matrix of per-format offsets, and reduces the class of "badge looks cramped on square thumbnails" bug reports.0.25 default explicitly restores 0.1.0 spacing, so existing output is unchanged on upgrade. That is a deliberate compatibility choice and a signal the maintainer treats rendered output as something downstream products depend on — relevant when deciding whether to wrap this package behind an internal service boundary.Consider it when:
padding option covers the edge-gap dimension; that is the whole of what this release says about layout.0.25 default, 0 for flush) is a better fit than fixed pixels.Look elsewhere when:
0.x, minor versions can change behavior. If the output is a contractual artifact (regulatory labeling, immutable receipts), either pin hard and test pixel output, or build the composite in a pipeline you control.To executives: This is a small, low-cost dependency that standardizes how our brand mark appears on generated images, server-side, using infrastructure we already run. The new release adds one configurable spacing value and explicitly preserves existing visual output — no change to what customers see today, no migration, no vendor commitment. The strategic value is consistency at scale: one number in config instead of per-format design specs, which reduces back-and-forth between design and engineering and removes a recurring class of visual defects. It is not a platform bet; it is a cheap, reversible way to keep branded output uniform while we decide whether image generation deserves real investment.
To engineering: v0.1.2 adds a padding config — the gap between badge and image edge, as a fraction of badge width. Default 0.25 reproduces 0.1.0 behavior exactly; 0 gives a flush badge. It is additive and backward-compatible, so upgrading should be a no-op visually; verify with a snapshot test on a handful of representative aspect ratios before trusting that. Because we are pre-1.0, pin the constraint and treat the rendered output as the contract we test against, not the config API. If badge layout starts needing more than an inset — multiple layers, text, contrast handling — that is the signal to stop extending this and move to Intervention or a service, rather than accumulating configuration here.
How can I help you explore Laravel packages today?