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.

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/

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.