Skip to main content

Laravel demo

The Laravel demo implements Kora Market as a product-led storefront. A customer chooses a Dawn Brew Set finish, reviews the bag, and continues to an Inttegro-hosted checkout created by Laravel.

About the app

Kora Market is a direct product storefront built around a configurable Dawn Brew Set. Shoppers can understand the product, choose the finish they prefer, review their bag, and continue to payment without ambiguity about what they are buying.

For the merchant, the app provides a complete path from merchandising to a payable order. It keeps the branded shopping experience on the storefront and hands the sensitive payment step to Inttegro Checkout.

Start with MCP

Connect your MCP client and ask MCP to adapt this product checkout to your Laravel application. It can identify the catalog, order, checkout, and verification work your implementation needs.

What it demonstrates

  • A Laravel 12 storefront with request validation and an accessible bag
  • Order creation with the Inttegro PHP SDK
  • Server-only credentials and a stable idempotency key
  • A 303 redirect to the exact checkout URL returned by Inttegro

Run the demo

Install PHP and Composer, install the pinned dependencies, create the local application key, and start Artisan. The released README contains the exact commands and PHPUnit check.

Follow the integration

  1. CheckoutService.php builds the order and owns the SDK boundary.
  2. CheckoutController.php validates the customer, preserves correlation, and redirects to checkout.

Production boundary

Keep INTTEGRO_API_KEY outside public Laravel configuration. Persist the cart and Inttegro order IDs together, and verify payment state before fulfillment.

Continue