Very customizable and easy to use shopping system, open source project based on laravel
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 
转到文件
A1Gard 2eb89ead83 added screenshot to readme 9 个月前
app added some translate 9 个月前
bootstrap added first page ignore middleware [seo] 10 个月前
config added login big bg 10 个月前
database remove duplicated assets 9 个月前
public added Avisa theme part 9 个月前
resources updated screenshot 9 个月前
routes added slider seeder 9 个月前
storage added git ignore to media library 10 个月前
tests initialized laravel 11.x 1年前
.editorconfig initialized laravel 11.x 1年前
.env.example added login big bg 10 个月前
.gitattributes initialized laravel 11.x 1年前
.gitignore initialized laravel 11.x 1年前
LICENSE Initial commit 2 年前
README.md added screenshot to readme 9 个月前
artisan initialized laravel 11.x 1年前
composer.json added Area and Part 10 个月前
composer.lock added customer controller 11 个月前
package-lock.json added sort save category 11 个月前
package.json added gallery grid theme part 10 个月前
phpunit.xml initialized laravel 11.x 1年前
vite.config.js added client assets 10 个月前
yarn.lock added gallery grid theme part 10 个月前

README.md

xShop logo

xShop/v2

[!NOTE] xShop is an open source shop developed in laravel, very customizable!

New Features:

  • Dashboard panel changes
  • Integration of Vue.js and laravel
  • Advanced charts
  • Better customizable with AI & languages
  • Fixed Technical issues
  • Project size compression
  • UI/UX is more specific
  • Developer Friendlier

Access to xShop/v1

[!WARNING]
xShop/v1 available here: https://github.com/a1Gard/xshop.v1

Installation

[!IMPORTANT]
Create new database and rename .env.example to .env then update you .env configs so run this commands:

git clone https://github.com/4xmen/xshop.git
cd xshop
composer install
php artisan migrate:fresh --seed
php artisan storage:link
php artisan key:generate
php artisan serv

[!TIP] Default admin email is : developer@example.com (developer) or admin@example.com (admin) and default password is: password

image seeding

  • Download & prepare images
php artisan seeding:prepare
  • Seeding image for models: [Group, Category, Post, Product, Slider]
pa seeding:image Product digital

First parameter is Model, Second is image seeder directory available [bag, clothe, digital, sport, posts, makeup] You can create your directory and put your image into new directory then use image seeder

Requirement

  • php 8.3.9 [ php-gd, sqlite3, php-soap ]
  • mysql or mariadb
  • composer

Deploy guide

We recommend deploy xShop on VPS, so create database and run this commands:

cd /home/[yourUsername]/[pathOfYourWebsitePublicHTML]
git clone  https://github.com/4xmen/xshop.git . # if this command not work make empty this folder
cp .env.example .env
nano .env # edit your config db, url, etc.
composer install
php artisan migrate
php artisan db:seed --class=UserSeeder
php artisan db:seed --class=SettingSeeder
nano .env # make APP_DEBUG false, APP_ENV production
php artisan storage:link
php key:generate
composer install --optimize-autoloader --no-dev

make xController

Controller with log and semi-automatic CURD with logs
User [model]

php artisan make:xcontroller User

make theme part

Theme part usable in area

PartName [theme aprt name]

segmentName [group, category, preloader, ...],

php artisan  make:part PartName segmentName

client optimize

Optimize client assets, scss,js,css

php artisan  client

theme parts file

  • PartName.php: onCreate, onRemove, onMount actions of theme part
  • PartName.blade.php: your theme part blade code
  • PartName.scss: your theme part scss
  • PartName.js: your theme part javascript
  • screenshot.png: screenshot preview of theme part

Screenshots

1

2

3

4

5

Developed With Love ! ❤️