s-cart / s-cart
Free Laravel e-commerce for business: shopping cart, cms content, and more...
Installs: 5 512
Dependents: 0
Suggesters: 0
Security: 2
Stars: 699
Watchers: 33
Forks: 347
Open Issues: 6
Language:Blade
Type:project
Requires
- php: ^8.2
- gp247/core: ~1.1
- gp247/front: ~1.1
- gp247/shop: dev-master
- laravel/framework: ^12.0
- laravel/tinker: ^2.9
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.15
- fakerphp/faker: ^1.23
- laravel/pail: ^1.1
- laravel/pint: ^1.13
- laravel/sail: ^1.26
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.1
- phpunit/phpunit: ^11.0.1
- dev-x-master
- dev-master
- 10.0-beta2
- 10.0-beta
- v9.0.3
- v9.0.2
- v9.0.1
- v9.0
- v8.17
- v8.2-beta
- 8.1.11
- v8.1.10
- v8.1.9
- v8.1.8
- v8.1.6
- v8.1.5
- v8.1.4
- v8.1.3
- v8.1.2
- v8.1.1
- v8.1
- v8.0
- v8.0-beta-2
- v8.0-beta
- v7.2.5.1
- v7.2.5
- v7.2.4.4
- v7.2.4.3
- v7.2.4.2
- v7.2.4.1
- v7.2.4
- v7.2.3.1
- v7.2.3
- v7.2.1
- v7.2
- v7.2.0-beta
- v7.1.3
- v7.1.2
- v7.1.1
- v7.1
- v7.1-beta
- v7.0.4
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0
This package is auto-updated.
Last update: 2025-04-11 00:41:41 UTC
README
Free open source e-commerce for business
composer create-project s-cart/s-cart
Home | Demo | Document | API document | Features in S-Cart | Group FB
About S-Cart X
S-Cart is the best free e-commerce website project for individuals and businesses, built on top of Laravel Framework and the latest technologies. Our goal is "Efficient and friendly for everyone":
- Efficiency: Meet even the smallest requirements of customers.
- Friendly: Easy to use, easy to maintain, easy to develop.
- Everyone: Businesses, individuals, developers, students.
IMAGES:
S-Cart functions:
π₯S-Cart - FREE Laravel ecommerce for businessπ₯: - Build plugin packages HMVC - Support to upgrade and patch S-Cart via command line - Full document for dev and client πFull support for the functions of a professional sales website: - Multi-language, multi-currency - Multi-vendor - Make cart, manage orders, manage products, manage customers... - CMS news management: categories, news, news pages - Plugin: Payment, shipping, discounts, taxes ... - Plugin pro: multi-vendor, multi-store - Online library: plugin, template - API suppport and security for app, mobile πPowerful admin page: - Roles, permission: admin, manager, maketing, .. - Security with log full, access, auth, captcha ... - Manage products, orders, customers ... - Charts, statistics - Backup, restore - Activity log - And many other functions. Demo API: https://s-cart.org/en/docs/master/about-api-scart.html πPlugin pro: - Multi-vendor: https://s-cart.org/en/multi-vendor.html - Multi-store: https://s-cart.org/en/multi-store.html
Technology
- Core Laravel Framework
Laravel core:
S-Cart 10.x
Power by GP247 system
Core laravel framework 12.x
Website structure using GP247
Website-folder/
|
βββ app
β βββ GP247
β βββ Core(+) //Customize controller of Core
β βββ Helpers(+) //Auto load Helpers/*.php
β βββ Plugins(+) //Use `php artisan gp247:make-plugin --name=NameOfPlugin`
β βββ Front(+) //Customize controller of Front
β βββ Shop(+) //Customize controller of Shop
β βββ Templates(+) //Use `php artisan gp247:make-template --name=NameOfTempate`
βββ public
β βββ GP247
β βββ Core(+)
β βββ Plugins(+)
β βββ Templates(+)
βββ resources
β βββ views/vendor
β |ββ gp247-core(+) //Customize view core
β βββ gp247-front(+) //Customize view front
βββ vendor
β βββ gp247/core
β βββ gp247/front
β βββ gp247/shop
βββ...
Support the project
Support this project π π
Quick Installation Guide
-
Step 1:
Refer to the command:
composer create-project s-cart/s-cart
-
Step 2: Check the configuration in the .env file
Ensure that the database configuration and APP_KEY information in the .env file are complete.
If the APP_KEY is not set, use the following command to generate it:
php artisan key:generate
-
Step 3: Initialize S-Cart
Run the command:
php artisan sc:install
-
Step 4: Install sample data (optional)
If you want to install sample data, run the command:
php artisan sc:sample
Useful information:
To view S-Cart version
php artisan sc:info
Update S-Cart
Update the package using the command:
composer update gp247/core
composer update gp247/front
composer update gp247/shop
Then, run the command:
php artisan sc:update
To create a plugin:
php artisan gp247:make-plugin --name=PluginName
To create a zip file plugin
php artisan gp247:make-plugin --name=PluginName --download=1
To create a template:
php artisan gp247:make-template --name=TemplateName
To create a zip file template:
php artisan gp247:make-template --name=TemplateName --download=1
Customize
Customize gp247-config and functions
php artisan gp247:customize config
Customize view admin
php artisan gp247:customize view
Overwrite gp247_ helper functions*
Step 1: Use the command
php artisan gp247:customize config
to copy the fileapp/config/gp247_functions_except.php
Step 2: Add the list of functions you want to override to
gp247_functions_except.php
Step 3: Create a new function in the
app/GP247/Helpers folder
Overwrite gp247 controller files
Step 1: Copy the controller files you want to override in vendor/gp247/core/src/Core/Controllers -> app/GP247/Core/Admin/Controllers
Step 2: Change
namespace GP247\Core\Admin\Controllers
tonamespace App\GP247\Core\Admin\Controllers
Overwrite gp247 API controller files
Step 1: Copy the controller files you want to override in vendor vendor/gp247/core/src/Api/Controllers -> app/GP247/Core/Api/Controllers
Step 2: Change
namespace GP247\Core\Api\Controllers
tonamespace App\GP247\Core\Api\Controllers
Add route
Use prefix and middleware constants GP247_ADMIN_PREFIX
, GP247_ADMIN_MIDDLEWARE
in route declaration.
References: https://github.com/gp247net/core/blob/master/src/Admin/routes.php
Environment variables in .env file
Quickly disable GP247 and plugins
GP247_ACTIVE=1
// To disable, set value 0
Disable APIs
GP247_API_MODE=1
// To disable, set value 0
Data table prefixes
GP247_DB_PREFIX=gp247_
//Cannot change after install gp247
Path prefix to admin
GP247_ADMIN_PREFIX=gp247_admin