https://github.com/s-cart/s-cart
Free Laravel e-commerce for business: shopping cart, cms content, and more...
https://github.com/s-cart/s-cart
e-commerce ecommerce free-shopping-cart free-website laravel laravel-ecommerce s-cart-website-ecommerce scart scart-ecommerce scart-open-source
Last synced: 18 days ago
JSON representation
Free Laravel e-commerce for business: shopping cart, cms content, and more...
- Host: GitHub
- URL: https://github.com/s-cart/s-cart
- Owner: s-cart
- Created: 2020-04-01T16:14:53.000Z (about 5 years ago)
- Default Branch: x-master
- Last Pushed: 2025-04-01T16:23:18.000Z (26 days ago)
- Last Synced: 2025-04-03T02:05:17.495Z (25 days ago)
- Topics: e-commerce, ecommerce, free-shopping-cart, free-website, laravel, laravel-ecommerce, s-cart-website-ecommerce, scart, scart-ecommerce, scart-open-source
- Language: PHP
- Homepage: https://s-cart.org
- Size: 56.6 MB
- Stars: 698
- Watchers: 33
- Forks: 348
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
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 :stuck_out_tongue_winking_eye: :pray:## 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`## 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 file `app/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` to `namespace 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` to `namespace 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`