mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
A1Gard 42c9b0453c | 4 months ago | |
---|---|---|
app | 4 months ago | |
bootstrap | 5 months ago | |
config | 4 months ago | |
database | 4 months ago | |
public | 4 months ago | |
resources | 4 months ago | |
routes | 4 months ago | |
storage | 4 months ago | |
tests | 6 months ago | |
.editorconfig | 6 months ago | |
.env.example | 4 months ago | |
.gitattributes | 6 months ago | |
.gitignore | 6 months ago | |
LICENSE | 2 years ago | |
README.md | 4 months ago | |
artisan | 6 months ago | |
composer.json | 4 months ago | |
composer.lock | 5 months ago | |
package-lock.json | 4 months ago | |
package.json | 4 months ago | |
phpunit.xml | 6 months ago | |
vite.config.js | 4 months ago | |
yarn.lock | 4 months ago |
README.md
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 :
admin@example.com
and default password is:password
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
Developed With Love ! ❤️