adrianbaez/short-code
Laravel package for defining and parsing short codes (e.g., [tag param="value"]) in strings, letting you register handlers and render dynamic content in text fields, emails, or CMS-like pages with simple, reusable placeholders.
SAVE20 → discount logic).app://doc/abc123 → document ID).For Executives: "This lightweight PHP package lets us decode short codes (e.g., promo codes, internal links) in hours instead of weeks—no infrastructure costs. Ideal for quick marketing campaigns or internal tools where we’d otherwise spend dev time reinventing a simple decoder. Risk is low: it’s open-source, and we can extend it if needed."
For Engineering:
*"The package provides a ShortCode class to decode strings like ABC123 into structured data (e.g., ['type' => 'promo', 'value' => 'ABC123']). It’s a drop-in solution for:
app://doc/123).How can I help you explore Laravel packages today?