|
1 | | - |
2 | | -# Laravel Shop Generator - Laravel Ecommerce CMS |
3 | | - |
4 | | -Laravel Shop Generator is a powerful and feature-rich Ecommerce CMS built with Laravel. It provides a comprehensive solution for creating and managing an online store with ease. |
5 | | - |
6 | | -## Features |
| 1 | +<div align="center"> |
7 | 2 |
|
8 | | -- **Multiple Language Support** |
9 | | -- **Multiple Currency Support** |
10 | | -- **Product Attributes and Options** |
11 | | -- **Order Management** |
12 | | -- **Brands, Tags, and Reviews** |
13 | | -- **Flash Sales and Coupons** |
14 | | -- **Wishlist and Compare** |
15 | | -- **Guest Checkout** |
16 | | -- **Invoice Generation** |
17 | | -- **Advanced Search and Filtering** |
18 | | -- **SEO Optimized** |
19 | | -- **Beautiful & Powerful Admin Panel** |
20 | | -- **Scheduled Currency Rate Updating** |
21 | | -- **Custom Static Pages** |
22 | | -- **Advanced System Reports** |
23 | | -- **Maintenance Mode** |
24 | | -- **And More...** |
| 3 | +# 🏬 Laravel Shop Generator |
25 | 4 |
|
26 | | -## Requirements |
| 5 | +### A powerful, feature-rich **Laravel eCommerce CMS** for building and managing an online store — multi-language, multi-currency, modular architecture, PWA-ready, with a beautiful and powerful admin panel. |
27 | 6 |
|
28 | | -- **PHP:** 7.4+ (Recommended: 8.1 or higher) |
29 | | -- **MySQL:** 5.6+ or MariaDB 10.0+ |
30 | | -- **PHP Extensions:** |
31 | | - - Intl |
32 | | - - OpenSSL |
33 | | - - PDO |
34 | | - - Mbstring |
35 | | - - Tokenizer |
36 | | - - XML |
37 | | - - Ctype |
38 | | - - JSON |
| 7 | +<p> |
| 8 | + <img src="https://img.shields.io/github/license/morpheusadam/laravel-shop-generator?style=for-the-badge&color=4c1" alt="License" /> |
| 9 | + <img src="https://img.shields.io/github/stars/morpheusadam/laravel-shop-generator?style=for-the-badge&color=ffca28" alt="Stars" /> |
| 10 | + <img src="https://img.shields.io/github/forks/morpheusadam/laravel-shop-generator?style=for-the-badge&color=42a5f5" alt="Forks" /> |
| 11 | + <img src="https://img.shields.io/github/last-commit/morpheusadam/laravel-shop-generator?style=for-the-badge&color=8e44ad" alt="Last commit" /> |
| 12 | + <img src="https://img.shields.io/github/repo-size/morpheusadam/laravel-shop-generator?style=for-the-badge&color=e67e22" alt="Repo size" /> |
| 13 | +</p> |
39 | 14 |
|
40 | | -## Installation |
| 15 | +<p> |
| 16 | + <img src="https://img.shields.io/badge/Laravel-10-FF2D20?style=for-the-badge&logo=laravel&logoColor=white" alt="Laravel" /> |
| 17 | + <img src="https://img.shields.io/badge/PHP-8.1%2B-777BB4?style=for-the-badge&logo=php&logoColor=white" alt="PHP" /> |
| 18 | + <img src="https://img.shields.io/badge/MySQL-Database-4479A1?style=for-the-badge&logo=mysql&logoColor=white" alt="MySQL" /> |
| 19 | + <img src="https://img.shields.io/badge/Vue.js-2-4FC08D?style=for-the-badge&logo=vuedotjs&logoColor=white" alt="Vue" /> |
| 20 | + <img src="https://img.shields.io/badge/Bootstrap-UI-7952B3?style=for-the-badge&logo=bootstrap&logoColor=white" alt="Bootstrap" /> |
| 21 | + <img src="https://img.shields.io/badge/Vite-Build-646CFF?style=for-the-badge&logo=vite&logoColor=white" alt="Vite" /> |
| 22 | + <img src="https://img.shields.io/badge/PWA-Ready-5A0FC8?style=for-the-badge&logo=pwa&logoColor=white" alt="PWA" /> |
| 23 | +</p> |
41 | 24 |
|
42 | | -### Step 1: Extract and Upload |
| 25 | +</div> |
43 | 26 |
|
44 | | -1. Unzip the downloaded archive package. |
45 | | -2. Rename the `Laravel Shop Generator` directory to your desired directory name. |
46 | | -3. Upload the directory to your web server through FTP or Control Panel. |
| 27 | +--- |
47 | 28 |
|
48 | | -### Step 2: Creating Database |
| 29 | +## 📖 Overview |
49 | 30 |
|
50 | | -1. Create a database for Laravel Shop Generator through your server control panel. |
51 | | -2. If your server has phpMyAdmin, you can also create a database using phpMyAdmin. |
| 31 | +**Laravel Shop Generator** is a complete, feature-rich **eCommerce CMS** built on **Laravel 10**. It provides everything you need to create, launch, and manage a modern online store — a polished customer storefront, a powerful admin panel, and a **modular architecture** (powered by `nwidart/laravel-modules`) that keeps the codebase clean and extensible. |
52 | 32 |
|
53 | | -### Step 3: Install Dependencies |
| 33 | +Out of the box it supports **multiple languages and currencies**, rich product attributes and options, order management, coupons and flash sales, wishlist and compare, guest checkout, invoice generation, and advanced search and filtering. A guided web installer, system requirement checks, license handling, and an update system make deployment straightforward, while built-in **PWA** support, scheduled currency-rate updates, and advanced reports round out a store-ready toolkit. |
54 | 34 |
|
55 | | -1. Navigate to the project directory: |
56 | | - ```bash |
57 | | - cd /path/to/your/laravel-shop-generator |
58 | | - ``` |
59 | | -2. Install Composer dependencies: |
60 | | - ```bash |
61 | | - composer install |
62 | | - ``` |
63 | | -3. Install NPM dependencies: |
64 | | - ```bash |
65 | | - npm install |
66 | | - ``` |
| 35 | +It's ideal for **store owners, agencies, and developers** who want a customizable Laravel-based shop platform with a modular, scaffold-friendly foundation. |
67 | 36 |
|
68 | | -### Step 4: Environment Configuration |
| 37 | +> 🔎 **Keywords:** laravel ecommerce cms, online store, laravel shop, multi-language store, multi-currency, modular laravel, nwidart modules, pwa ecommerce, admin panel, flash sales, coupons, guest checkout. |
69 | 38 |
|
70 | | -1. Copy the `.env.example` file to `.env`: |
71 | | - ```bash |
72 | | - cp .env.example .env |
73 | | - ``` |
74 | | -2. Open the `.env` file and configure your environment variables, including database connection details. |
| 39 | +--- |
75 | 40 |
|
76 | | -### Step 5: Generate Application Key |
| 41 | +## ✨ Features |
| 42 | + |
| 43 | +- 🌐 **Multiple language support** |
| 44 | +- 💱 **Multiple currency support** with scheduled rate updates |
| 45 | +- 🧩 **Product attributes & options** |
| 46 | +- 📦 **Order management** |
| 47 | +- 🏷️ **Brands, tags & reviews** |
| 48 | +- ⚡ **Flash sales & coupons** |
| 49 | +- ❤️ **Wishlist & compare** |
| 50 | +- 🛒 **Guest checkout** |
| 51 | +- 🧾 **Invoice generation** |
| 52 | +- 🔍 **Advanced search & filtering** |
| 53 | +- 📈 **SEO optimized** |
| 54 | +- 🖥️ **Beautiful & powerful admin panel** |
| 55 | +- 📄 **Custom static pages** |
| 56 | +- 📊 **Advanced system reports** |
| 57 | +- 🛠️ **Maintenance mode** |
| 58 | +- 🧱 **Module & entity scaffolding** (Artisan generators) |
| 59 | +- 📲 **PWA support** (installable web app) |
| 60 | +- 🧰 **Guided web installer** with requirement checks |
| 61 | +- ➕ **And more...** |
77 | 62 |
|
78 | | -1. Generate the application key: |
79 | | - ```bash |
80 | | - php artisan key:generate |
81 | | - ``` |
| 63 | +--- |
82 | 64 |
|
83 | | -### Step 6: Run Migrations and Seed Database |
| 65 | +## 🛠️ Tech Stack |
84 | 66 |
|
85 | | -1. Run the database migrations and seed the database: |
86 | | - ```bash |
87 | | - php artisan migrate --seed |
88 | | - ``` |
| 67 | +<p align="center"> |
| 68 | + <img src="https://skillicons.dev/icons?i=laravel,php,mysql,vue,bootstrap,vite,sass,redis" alt="Tech stack" /> |
| 69 | +</p> |
89 | 70 |
|
90 | | -### Step 7: Build Frontend Assets |
| 71 | +| Layer | Technologies | |
| 72 | +| --- | --- | |
| 73 | +| Backend | Laravel 10, PHP 8.1+, nwidart/laravel-modules, Doctrine DBAL | |
| 74 | +| Frontend | Blade, Vue 2, Bootstrap, Alpine.js, jQuery, Sass, Vite | |
| 75 | +| Caching | Predis adapter, alternative-laravel-cache | |
| 76 | +| PWA & i18n | silviolleite/laravelpwa, Symfony Intl | |
| 77 | +| Tooling | Wikimedia Composer Merge Plugin, dotenv-editor, PostCSS RTLCSS | |
91 | 78 |
|
92 | | -1. Build the frontend assets: |
93 | | - ```bash |
94 | | - npm run dev |
95 | | - ``` |
| 79 | +--- |
96 | 80 |
|
97 | | -### Step 8: Run Installation Wizard |
| 81 | +## 🚀 Getting Started |
98 | 82 |
|
99 | | -1. Go to your website address. |
100 | | -2. Follow the installation wizard. |
| 83 | +### Requirements |
101 | 84 |
|
102 | | -**Note:** You should configure your web server's document/web root to be the `public` directory. |
| 85 | +- **PHP 8.1+** with Composer (`ext-gd` enabled) |
| 86 | +- **MySQL 5.6+** or **MariaDB 10.0+** |
| 87 | +- **Node.js & npm** |
| 88 | +- Required PHP extensions: Intl, OpenSSL, PDO, Mbstring, Tokenizer, XML, Ctype, JSON |
103 | 89 |
|
104 | | -### Pre-Installation |
| 90 | +### Installation |
105 | 91 |
|
106 | | -The pre-installation page checks if your server meets the requirements and has the correct directory permissions to set up Laravel Shop Generator. Ensure that directories within the `storage` and the `bootstrap/cache` directories are writable by your web server. |
| 92 | +```bash |
| 93 | +# 1. Get the code |
| 94 | +git clone https://github.com/morpheusadam/laravel-shop-generator.git |
| 95 | +cd laravel-shop-generator |
107 | 96 |
|
108 | | -### Configuration |
| 97 | +# 2. Install dependencies |
| 98 | +composer install |
| 99 | +npm install |
109 | 100 |
|
110 | | -Fill in the database connection details, administration details, and store details, then click the `Install` button to install Laravel Shop Generator. |
| 101 | +# 3. Configure environment |
| 102 | +cp .env.example .env |
| 103 | +php artisan key:generate |
111 | 104 |
|
112 | | -### Complete |
| 105 | +# 4. Set your database credentials in .env, then migrate & seed |
| 106 | +php artisan migrate --seed |
113 | 107 |
|
114 | | -After successfully installing Laravel Shop Generator, you will see a success message. You now have the option to browse your online store or log into the administration panel. |
| 108 | +# 5. Build frontend assets |
| 109 | +npm run build # or: npm run dev |
| 110 | +``` |
115 | 111 |
|
116 | | -## Admin Login |
| 112 | +Then serve the app and complete setup via the guided web installer: |
117 | 113 |
|
118 | | -- **URL:** [https://your-domain.com/admin](https://your-domain.com/admin) |
119 | | -- **Email:** `admin@email.com` |
120 | | -- **Password:** `123456` |
| 114 | +```bash |
| 115 | +php artisan serve |
| 116 | +``` |
121 | 117 |
|
122 | | -## User Login |
| 118 | +> 💡 You can also create the database through your hosting control panel / phpMyAdmin and run the **web installer** to finish configuration. |
123 | 119 |
|
124 | | -- **URL:** [https://your-domain.com/login](https://your-domain.com/login) |
125 | | -- **Email:** `admin@email.com` |
126 | | -- **Password:** `123456` |
| 120 | +--- |
127 | 121 |
|
128 | | -## Changelog |
| 122 | +## ⚙️ Module Scaffolding |
129 | 123 |
|
130 | | -### Version 4.3.1 (5 Jul 2024) |
131 | | -- Fix file manager issue |
| 124 | +Laravel Shop Generator uses a modular structure. New modules and entities can be scaffolded with the built-in Artisan commands: |
132 | 125 |
|
133 | | -### Version 4.3.0 (3 Jul 2024) |
134 | | -- Add new sidebar cart design |
135 | | -- Add new newsletter popup design |
136 | | -- Add locale switcher in auth pages |
137 | | -- Add ability to change storefront font with 17 fonts preset |
138 | | -- Fix product gallery lightbox duplicate images |
139 | | -- Fix missing translations |
140 | | -- Fix responsive issues |
141 | | -- Improve accessibility |
142 | | -- Improve storefront theme design |
| 126 | +```bash |
| 127 | +php artisan scaffold:module # scaffold a new module |
| 128 | +php artisan scaffold:entity # scaffold a new entity |
| 129 | +``` |
143 | 130 |
|
144 | | -... (Include other versions as needed) |
| 131 | +--- |
145 | 132 |
|
146 | | -## License |
| 133 | +## 🗂️ Project Structure |
| 134 | + |
| 135 | +```text |
| 136 | +laravel-shop-generator/ |
| 137 | +├── app/ |
| 138 | +│ ├── Http/Controllers/ # Install & License controllers |
| 139 | +│ ├── Install/ # Web installer (requirements, DB, store, admin) |
| 140 | +│ ├── Scaffold/Module/ # Module & entity generators + stubs |
| 141 | +│ └── Updater.php # Update system |
| 142 | +├── config/ # app, database, sentinel, modules, ... |
| 143 | +├── Modules/ # Feature modules (nwidart/laravel-modules) |
| 144 | +├── resources/ # Blade views & frontend assets |
| 145 | +└── routes/ # Application routes |
| 146 | +``` |
147 | 147 |
|
148 | | -This project is licensed under the terms of the [Envato Regular License](https://codecanyon.net/licenses/standard). |
| 148 | +--- |
149 | 149 |
|
150 | | -## Support |
| 150 | +## 🤝 Contributing |
151 | 151 |
|
152 | | -For support, please contact [EnvaySoft](https://codecanyon.net/user/envaysoft). |
| 152 | +Contributions are welcome! Open an [issue](https://github.com/morpheusadam/laravel-shop-generator/issues) or submit a pull request with new features, fixes, or improvements. |
153 | 153 |
|
154 | | ---- |
| 154 | +## 📜 License |
| 155 | + |
| 156 | +See the repository's license terms (add a `LICENSE` file if distributing). Built on the open-source **Laravel** framework (MIT). |
155 | 157 |
|
156 | | -© All Rights Reserved EnvaySoft |
| 158 | +--- |
157 | 159 |
|
158 | | -## Screenshots |
159 | | -## 📞 Contact Me |
160 | 160 | <div align="center"> |
161 | | - <a href="https://www.linkedin.com/in/hesam-ahmadpour" style="color: red; font-size: 20px; text-decoration: none;">LinkedIn</a> | |
162 | | - <a href="https://t.me/morpheusadam" style="color: red; font-size: 20px; text-decoration: none;">Telegram</a> |
163 | | -</div> |
164 | 161 |
|
| 162 | +### 👤 Author — Morpheus Adam |
165 | 163 |
|
166 | | - |
167 | | - |
168 | | - |
169 | | - |
| 164 | +Web developer & cheerful hacker · PHP · Laravel · Go |
| 165 | + |
| 166 | +<p> |
| 167 | + <a href="https://github.com/morpheusadam"><img src="https://img.shields.io/badge/GitHub-morpheusadam-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub" /></a> |
| 168 | + <a href="https://sam.zeonic.me"><img src="https://img.shields.io/badge/Website-sam.zeonic.me-4c1?style=for-the-badge&logo=googlechrome&logoColor=white" alt="Website" /></a> |
| 169 | + <a href="mailto:morpheusadam95@gmail.com"><img src="https://img.shields.io/badge/Email-Contact-D14836?style=for-the-badge&logo=gmail&logoColor=white" alt="Email" /></a> |
| 170 | +</p> |
| 171 | + |
| 172 | +⭐ **If Laravel Shop Generator helped you launch your store, please give it a star!** ⭐ |
| 173 | + |
| 174 | +</div> |
0 commit comments