Skip to content

Companion App

LamaShopi (app.lamashopi) is a Laravel companion app that extends Shopify storefronts with functionality that Shopify doesn't provide out of the box.

What It Does

The app runs alongside the Shopify store (not embedded in the Shopify admin). It communicates with the storefront via App Proxy and with Shopify via webhooks and the Admin API.

Features

All features are opt-in via environment flags:

FeatureFlagDescription
InventorySHOPIFY_FEATURE_INVENTORYStock per location with caching
WishlistsSHOPIFY_FEATURE_WISHLISTSAnonymous + authenticated wishlists
OOS NotificationsSHOPIFY_FEATURE_OOSBack-in-stock email alerts
Store LocatorSHOPIFY_FEATURE_STORE_LOCATORPhysical store directory
BundlesSHOPIFY_FEATURE_BUNDLESProduct bundles with discounts
Free ShippingSHOPIFY_FEATURE_FREE_SHIPPING_BARShipping threshold data

Tech Stack

PackageVersionPurpose
Laravel13Application framework
Filament5Admin panel
Horizon5Queue monitoring
Pest4Testing
Spatie Health1Health checks
Spatie Activity Log5Action auditing
Flare2Error monitoring

Architecture

The app follows standard Laravel conventions with a few Shopify-specific patterns:

  • No OAuth flow — uses Shopify Dev Dashboard client credentials for API access
  • No embedded admin — Filament provides its own admin interface
  • App Proxy — storefront requests are HMAC-verified by Shopify before reaching the app
  • Per-shop deployment — each merchant gets their own app instance and database

Next Steps

Internal developer documentation