s-cart / s-cart
Free Laravel e-commerce for business: shopping cart, cms content, and more...
Fund package maintenance!
s-cart
s-cart.org
Installs: 5 628
Dependents: 0
Suggesters: 0
Security: 2
Stars: 709
Watchers: 33
Forks: 351
Open Issues: 4
Language:Blade
Type:project
Requires
- php: ^8.2
- gp247/core: ~1.1
- gp247/front: ~1.1
- gp247/shop: ~1.1
- 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
- 10.0-beta3
- 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-06-12 13:46:48 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 💥
Core Features
- Build plugin packages HMVC
- Support to upgrade and patch S-Cart via command line
- Full documentation for developers and clients
👉 Professional Sales Website Functions
- Multi-language, multi-currency
- Multi-vendor
- Complete e-commerce features:
- Shopping cart management
- Order management
- Product management
- Customer management
- CMS Management:
- Categories
- News
- Content pages
- Extensions:
- Payment plugins
- Shipping methods
- Discount systems
- Tax calculation
- Pro Plugins:
- Multi-vendor: https://s-cart.org/en/multi-vendor.html
- Multi-store: https://s-cart.org/en/multi-store.html
- Developer Resources:
- Online library of plugins and templates
- API support with security for apps and mobile integration
👉 Powerful Admin Features
- User Management:
- Role-based permissions (admin, manager, marketing, etc.)
- Comprehensive security with full logging
- Access control, authentication, and CAPTCHA
- Business Tools:
- Product management
- Order processing
- Customer relationship management
- Analytics and statistics
- Data backup and restoration
- Activity monitoring
API Documentation
S-Cart 10.x:
Power by GP247 system https://github.com/gp247net
Core laravel framework 12.x https://github.com/laravel/laravel
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
Important Note on Directory Permissions
Make sure the following directories have write permissions:
app/GP247
public/GP247
public/vendor
resources/views/vendor
storage
vendor
Without proper write permissions, installation and various features will not work correctly.
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 lfm configuration for upload
php artisan vendor:publish --tag=config-lfm
Customize core admin view
php artisan vendor:publish --tag=gp247:view-core
Overwrite gp247_ helper functions*
Step 1: Add the list of functions you want to override to
config/gp247_functions_except.php
Step 2: Create new php files containing the new functions in the
app/GP247/Helpers
directory, for exampleapp/GP247/Helpers/myfunction.php
Overwrite gp247 controller files
Step 1: Copy the controller files you want to override from vendor/gp247/core/src/Core/Controllers -> app/GP247/Core/Controllers
Step 2: Change
namespace GP247\Core\Controllers
tonamespace App\GP247\Core\Controllers
Overwrite gp247 API controller files
Step 1: Copy the controller files you want to override from 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/routes.php
Environment variables in .env file
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