4xmen/xshop: Very customizable and easy to use shopping system, open source project based on laravel

2 phút đọc

4xmen/xshop: Very customizable and easy to use shopping system, open source project based on laravel – Repository 4xmen/xshop. Mô tả: Very customizable and easy to use shopping system, open source project based on laravel. 504 stars, 179 forks, ngôn ngữ chính PHP, cập nhật 2026-08-24.

1. Repository làm gì?

xShop is an open-source shop developed in Laravel, highly customizable!

Installation [Development Mode]

Create a new database and rename .env.example to .env, then update your .env configurations. Run the following commands:

If prompted to approve build scripts, approve the following packages: pnpm approve-builds

Default admin emails are: developer@example.com (developer) or admin@example.com (admin) Default password: password

The first parameter is the model name; the second is the image seeder directory. Available directories: [bag, clothe, digital, sport, posts, makeup] You can create your own directory, add images to it, and use it with the image seeder.

4xmen/xshop: Very customizable and easy to use shopping system, open source project based on laravel
Hình 1: Minh họa 4xmen/xshop: Very customizable and easy to use shopping system, open source project based on laravel

2. Dữ liệu và cấu trúc đáng chú ý

We recommend deploying xShop on a VPS. Create a database and run the following commands:

Add a crontab entry for your project:

Create a controller with logging and semi-automatic CRUD with logs. Usage: [model]

Create a reusable theme part in a specific area.

Parameters: PartName [theme part name] segmentName [group, category, preloader, …]

Optimize client assets: scss, js, css

Online demo available here: https://xshop.xstack.ir/

4xmen/xshop: Very customizable and easy to use shopping system, open source project based on laravel
Hình 2: Chi tiết tin tức 4xmen/xshop: Very customizable and easy to use shopping system, open source project based on laravel

3. Khả năng ứng dụng và giới hạn

How to migrate from WordPress & WooCommerce to xShop?

Replace http://wp.test/ with your old website’s URL. If xshop does not allow data transfer and requires an empty database, run:

Important notes: the above clear command will delete (truncate) all content and product data on your current server.

Note: migration commands may take from 1 minute to several hours depending on the amount of content on the old site, especially the number of images.

xShop/v1 is available here: https://github.com/4xmen/xshop.v1

Số liệu repository có thể thay đổi; nên mở liên kết nguồn để kiểm tra README, giấy phép và trạng thái phát hành.

📅 Âm: 4/10 · Canh Dần

📅 Lịch Âm Dương NsN

×
Hôm Nay · Thứ Năm
Âm Lịch: 4 Tháng 10
Năm Bính Ngọ
📌 Can Chi: Canh Dần
✨ Hoàng Đạo: Tý (23-1), Sửu (1-3), Thìn (7-9), Tỵ (9-11), Mùi (13-15), Tuất (19-21)
Vĩnh Phúc (Liên Bảo - Vĩnh Yên)
31°C
Nắng Đẹp
💧 83% | 💨 18 km/h
Hôm nay 32°
02/11 28°
03/11 30°
04/11 31°
05/11 31°