Skip to content

morpheusadam/LaravelCommerce

Repository files navigation

πŸ›’ LaravelCommerce

A full-featured, SEO-ready e-commerce platform built with Laravel 11 β€” responsive storefront, powerful admin panel, real-time notifications, social login, and PayPal payments, with full RTL / Persian support.

License Stars Forks Last commit Repo size

Laravel PHP MySQL Vue Bootstrap Pusher PayPal


πŸ“– Overview

LaravelCommerce is a complete, production-style online store / shopping cart application built on the Laravel 11 framework. It ships with a responsive customer-facing storefront, a feature-rich admin dashboard, role-based access control, blog/CMS capabilities, and a clean, modular codebase that's easy to extend.

The platform covers the full retail workflow β€” product catalog with attributes (cost price, promo price, stock, size), cart, wishlist, coupons, product reviews, order tracking, and PDF invoice generation β€” plus Laravel Socialite social login (Facebook, Google, Twitter), Laravel Pusher real-time notifications and messaging, newsletter management, and PayPal payment integration. It is fully RTL-aware with first-class Persian language support, making it ideal for both LTR and RTL markets.

It's a great starting point for developers, agencies, and startups who need a customizable Laravel e-commerce solution with an admin panel out of the box.

πŸ”Ž Keywords: laravel ecommerce, laravel 11 shop, online store, shopping cart, admin panel, rtl laravel, persian ecommerce, laravel socialite, pusher notifications, paypal payment, wishlist, coupons, product reviews.


✨ Features

πŸ–₯️ Storefront

  • πŸ“± Responsive design for desktop, tablet, and mobile.
  • πŸ›οΈ Cart, wishlist & product reviews with multi-level comments.
  • 🏷️ Coupons & discounts and rich product attributes (cost price, promo price, stock, size, …).
  • πŸ“ Blog/CMS: categories, tags, content pages.
  • πŸ”Œ Modules: shipping, payment, discounts, and more.
  • πŸ” SEO-friendly URLs and product search.
  • πŸ“° Newsletter management (Spatie Newsletter).
  • πŸ”” Real-time contact forms & notifications via Laravel Pusher.
  • πŸ” Related products & per-category recommendations.
  • πŸ‘₯ Social login with Laravel Socialite (Facebook, Google, Twitter).
  • πŸ“€ Social sharing & follow across platforms.
  • πŸ’³ PayPal payment integration and an order tracking system.

πŸ› οΈ Admin Panel

  • πŸ” Roles & permissions for admins.
  • πŸ“¦ Product, category, brand & shipping management.
  • πŸ—‚οΈ Media manager powered by UniSharp Laravel File Manager.
  • πŸ–ΌοΈ Banner management and order management.
  • πŸ’¬ Review management and blog/category/tag manager.
  • πŸ‘€ User & coupon management.
  • βš™οΈ System configuration: email settings, store info, maintenance mode, …
  • πŸ“Š Line & pie charts for analytics.
  • 🧾 PDF order generation (DomPDF).
  • πŸ“¨ Real-time messages & notifications.

πŸ‘€ Customer Dashboard

  • πŸ“¦ Order management
  • πŸ’¬ Review management
  • βš™οΈ Profile settings

πŸ› οΈ Tech Stack

Tech stack

Layer Technologies
Backend Laravel 11, PHP, Laravel Sanctum, Tinker, Laravel UI
Frontend Blade, Vue 2, Bootstrap, jQuery, Sass, Laravel Mix
Realtime Pusher, Laravel Echo
Payments srmklive/paypal (PayPal)
Media & PDF UniSharp Laravel File Manager, Intervention Image, Barryvdh DomPDF
Auth & Social Laravel Socialite (Facebook, Google, Twitter)
Marketing Spatie Laravel Newsletter

πŸš€ Getting Started

Prerequisites

  • PHP 8.x with Composer
  • MySQL database
  • Node.js & npm (for frontend assets)

Installation

# 1. Clone the repository
git clone https://github.com/morpheusadam/LaravelCommerce.git
cd LaravelCommerce

# 2. Install PHP & JS dependencies
composer install
npm install

# 3. Create your environment file
cp .env.example .env

# 4. Generate the application key
php artisan key:generate

# 5. Configure your database (and SMTP / PayPal / Pusher) credentials in .env

Database & Assets

# Import the provided database dump
# (e.g. database/e-shop.sql) into your MySQL database

# Link storage and build assets
php artisan storage:link
npm run dev

# Serve the application
php artisan serve

Open http://localhost:8000 in your browser. Visit /admin to reach the admin panel.

βš™οΈ Configure your SMTP, PayPal, and Pusher credentials in .env to enable email, payments, and real-time features. This project uses email for registration and login.


πŸ—‚οΈ Project Structure

LaravelCommerce/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ Http/Controllers/   # Product, Cart, Order, Admin, Auth, Post...
β”‚   β”œβ”€β”€ Models/             # Product, Category, Brand, Order, Coupon...
β”‚   β”œβ”€β”€ Events/             # MessageSent (realtime)
β”‚   └── Notifications/      # StatusNotification
β”œβ”€β”€ config/                 # paypal, pusher/broadcasting, lfm, newsletter...
β”œβ”€β”€ resources/              # Blade views & frontend assets
β”œβ”€β”€ routes/                 # web & api routes
└── public/                 # compiled assets & screenshots

🀝 Contributing

Contributions are welcome! Open an issue or submit a pull request with new features, fixes, or improvements.

πŸ“œ License

Distributed under the MIT License. See LICENSE for details.


πŸ‘€ Author β€” Morpheus Adam

Web developer & cheerful hacker Β· PHP Β· Laravel Β· Go

GitHub Website Email

⭐ If LaravelCommerce helped you build your store, please give it a star! ⭐

About

Full-featured Laravel 11 e-commerce platform with a responsive storefront, powerful admin panel, role-based access, real-time Pusher notifications, social login, PayPal payments, and full RTL/Persian support.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors