danialhatami / simple-marketplace
A simple E-Commerce Package for Laravel.
Requires
- php: ^8.1
- laravel/framework: ^10.10
- laravel/sanctum: ^3.3
Requires (Dev)
- laravel/pint: ^1.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-06-23 12:05:08 UTC
README
Laravel Simple Marketplace Package
🚀 Welcome to the Laravel Simple Marketplace - where setting up an e-commerce solution is as easy as spotting the moon on a clear night! 🌔
Before we launch, make sure you've got Laravel installed and you've run the migrations (because our package needs users like a spaceship needs astronauts!).
Installation
Ready for a smooth takeoff? Just follow these steps:
- Install Package via Composer:
composer require danialhatami/simple-marketplace:dev-master
- Initiate Installation:
php artisan simple-marketplace:install
- Migration Check
Do a quick moonwalk over to your migrations. Modify them if you must (but let's try not to). Another round of migration will lay the groundwork for your marketplace.
php artisan migrate
- That's it
Key Business Logic
- Product: Title, price, multiple images
- Product Search: By title, with price filters and low-price sorting
- Seller/User Product Management: Add/remove products, inventory control
- Order Process: Simple ordering, cost calculation, admin email alerts
- Delivery Options: Doorstep delivery
After installation, you can customize the admin email.
Navigate to the config/marketplace.php
file and modify the admin_email value to suit your needs.
Essential Files
Need to jump straight to the heart of the action?
Here are quick links to some of the most crucial files in this project:
- Package Service Provider 👉 Simple Marketplace Service Provider
- Feature Tests 👉 Test Files
- Installation Command 👉 Install Command
- Main Services 👉 Service Files
- Route File 👉 Api Route
- Notification 👉 Notification
Dive Deeper
For an enchanting journey through every nook and cranny of this project, kindly open your IDE's magical gates.
👀 Project in IDE MODE
Easy Navigation with Postman Collection
It's your handy guidebook.
👉 Postman Json Collection