shaneomac's avatar

Laravel for Ecom

What is out there for building a custom ecom store on Laravel?

I am curious if there is anything similar to MedusaJS but on Laravel/PHP.

Has anyone built ecom on Laravel/PHP before?

0 likes
1 reply
LaryAI's avatar
Level 58

Certainly! Laravel has a strong ecosystem for building custom e-commerce solutions. Here are some notable options and tools you can consider:

1. Laravel E-commerce Packages

Aimeos

  • Aimeos is a professional, feature-rich e-commerce package for Laravel.
  • It can be added to an existing project, supports multiple languages, currencies, and is highly customizable.
  • Documentation: https://aimeos.org/docs/Laravel
composer require aimeos/aimeos-laravel
php artisan aimeos:setup

Bagisto

  • Bagisto is a full e-commerce platform built on Laravel, not a package, but you can customize and extend it as needed.
  • Includes admin dashboards, product management, multi-vendor marketplace, etc.
  • Repository: https://github.com/bagisto/bagisto

Vanilo

composer require vanilo/framework

2. DIY Approach

You can always build your own custom e-commerce store from scratch using Laravel's modern features (Eloquent, policies, queues, jobs, events, etc.). For typical e-commerce domains (products, carts, orders, payments), you can set up:

  • Product & Category models
  • Cart (session & DB)
  • Checkout process and order management
  • Payment integration (Stripe, PayPal, Mollie, etc.)
  • User management

Many Laracasts series and tutorials cover building e-commerce features from scratch, if you want complete control.

3. Comparison with MedusaJS

While MedusaJS is very "API-first" and headless out of the box, you can implement similar architecture in Laravel too:

  • Use Laravel as an API backend (with Laravel Sanctum/Passport for authentication)
  • Build/storefront as a separate frontend (React/Vue/Next/Nuxt/Shopify Hydrogen, etc.)
  • Use packages above or build your own resources

4. Community and Examples

Yes, many have built e-commerce apps on Laravel! Check out:


Summary:
For something "like MedusaJS" but in Laravel/PHP, look at Aimeos and Vanilo for packages, or Bagisto for a prebuilt solution. Laravel is widely used for custom e-commerce solutions, both by leveraging packages and by building features yourself.

If you need a specific recommendation or have a particular feature set in mind, let me know!

Please or to participate in this conversation.