Stars: 113
Forks: 30
Pull Requests: 20
Issues: 6
Watchers: 7
Last Updated: 2023-09-15 05:35:13
Very customizable and easy to use shopping system, open source project based on laravel
License: Other
Languages: PHP, JavaScript, Vue, CSS, HTML, SCSS, Blade
x-shop is an open source shop developed in laravel, very customizable!
xShop developed under GPL-3
license, So don't worry it will be opensource for ever!
php-gd
, sqlite3
, php-soap
]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 --seed
php artisan storage:link
php artisan key:generate
php artisan serv
now login to admin panel http://localhost:8000/dashboard
default admin email is : [email protected]
and default password is: password
We recommend deploy xshop on VPS, so create databse 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
You must add crontab for your project:
crontab -e
Add this line:
* * * * * cd /home/[yourusername]/[your-public-html-project-root] && php artisan schedule:run >> /dev/null 2>&1
We are so pleased to your help and help you, If you wanna develop xshop, Congrats or if you have problem, don't worry create an issue here:
https://github.com/4xmen/xshop/issues
Note: The test must be run on development version, and test command is:
php artisan test