PHPackages                             s-cart/s-cart - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. s-cart/s-cart

Abandoned → [gp247/s-cart](/?search=gp247%2Fs-cart)ArchivedProject

s-cart/s-cart
=============

Free Laravel e-commerce for business: shopping cart, cms content, and more...

10.0.5(8mo ago)7335.8k↑1100%358MITPHPPHP ^8.2

Since Mar 19Pushed 8mo ago32 watchersCompare

[ Source](https://github.com/s-cart/s-cart)[ Packagist](https://packagist.org/packages/s-cart/s-cart)[ Docs](https://s-cart.org)[ Fund](https://s-cart.org)[ GitHub Sponsors](https://github.com/s-cart)[ RSS](/packages/s-cart-s-cart/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (52)Used By (0)Security (2)

 [![](https://camo.githubusercontent.com/eea4498dda735e98c71302778002a5b751570fcc82ff91c95e40c8e3a1294e91/68747470733a2f2f732d636172742e6f72672f6c6f676f2e706e67)](https://s-cart.org) [![](https://camo.githubusercontent.com/d5ceffc7a92e605a19bc02fe26f65f2add6c6da3d0454b8a98b76a8edf105146/68747470733a2f2f7374617469632e67703234372e6e65742f6c6f676f2f6c6f676f2e706e67)](https://gp247.net)

Free open source e-commerce for business

 [Home](https://s-cart.org) | [Demo](https://demo.s-cart.org) | [About new S-Cart](https://gp247.net/en/docs/s-cart/s-cart-overview.html) | [Group FB](https://www.facebook.com/groups/scart.opensource)

[![Packagist Downloads](https://camo.githubusercontent.com/19040b17f093f2257e1636ec5c4c7963a0dc8f09d04fb5f084eae14ba75aed0a/68747470733a2f2f706f7365722e707567782e6f72672f732d636172742f732d636172742f642f746f74616c)](https://packagist.org/packages/s-cart/s-cart)[![Git Downloads](https://camo.githubusercontent.com/ba352290905b5086a89bbf91cab9ff707b3f74c3b8e164b6ff069a462992e125/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f732d636172742f732d636172742f746f74616c)](https://github.com/s-cart/s-cart)[![Latest Stable Version](https://camo.githubusercontent.com/258daac32c650cdc35c056dea21cd656082638a08fe65dfbb0b2900fd9c472ef/68747470733a2f2f706f7365722e707567782e6f72672f732d636172742f732d636172742f762f737461626c65)](https://github.com/s-cart/s-cart/releases)[![License](https://camo.githubusercontent.com/a5b9afa79509c29161eb0fbd60f014ec38f95256a2401c275fe1d293308f8c83/68747470733a2f2f706f7365722e707567782e6f72672f732d636172742f732d636172742f6c6963656e7365)](https://github.com/s-cart/s-cart/blob/master/LICENSE)

`From September 2025, s-cart will be moved to a new location::`

**New repo:** [](https://github.com/gp247net/s-cart)

**New package:** [](https://github.com/gp247net/s-cart)

**Installation:**

**composer create-project s-cart/s-cart**

> **composer create-project gp247/s-cart**

About S-Cart X
--------------

[](#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:
-------

[](#images)

[![](https://camo.githubusercontent.com/cadb922660f562f8f99c7f5d7fabe241bfd671f193281a06a0e60937145162ba/68747470733a2f2f7374617469632e732d636172742e6f72672f67756964652f7573652f636f6d6d6f6e2f73686f702e6a7067)](https://camo.githubusercontent.com/cadb922660f562f8f99c7f5d7fabe241bfd671f193281a06a0e60937145162ba/68747470733a2f2f7374617469632e732d636172742e6f72672f67756964652f7573652f636f6d6d6f6e2f73686f702e6a7067)

[![](https://camo.githubusercontent.com/d3f3e49f64dcdd091125789a240e9132d966433bd136e82abe22ad29359ab35d/68747470733a2f2f7374617469632e732d636172742e6f72672f67756964652f7573652f636f6d6d6f6e2f64617368626f6172642e6a7067)](https://camo.githubusercontent.com/d3f3e49f64dcdd091125789a240e9132d966433bd136e82abe22ad29359ab35d/68747470733a2f2f7374617469632e732d636172742e6f72672f67756964652f7573652f636f6d6d6f6e2f64617368626f6172642e6a7067)

S-Cart functions:
-----------------

[](#s-cart-functions)

### S-Cart - FREE Laravel ecommerce for business

[](#s-cart---free-laravel-ecommerce-for-business)

#### Core Features

[](#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

[](#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 for S-Cart**:
    - Multi-vendor:
    - Multi-store:
- **Developer Resources**:
    - Online library of plugins and templates
    - API support with security for apps and mobile integration

#### Powerful Admin Features

[](#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

S-Cart 10.x:
------------

[](#s-cart-10x)

> Powered by GP247 system [](https://github.com/gp247net)

> Core Laravel framework 12.x [](https://github.com/laravel/laravel)

Website structure using GP247
-----------------------------

[](#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-the-project)

Support this project 😜 🙏

 [![PayPal Me](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/LeLanh)

Quick Installation Guide
------------------------

[](#quick-installation-guide)

### Method 1: Installation via Composer (Recommended)

[](#method-1-installation-via-composer-recommended)

- **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`

### Method 2: Installation via Git Clone

[](#method-2-installation-via-git-clone)

- **Step 1**: Clone repository from GitHub

    > `git clone https://github.com/s-cart/s-cart.git`
- **Step 2**: Move to project directory

    > `cd s-cart`
- **Step 3**: Create .env file from sample file

    > `cp .env.example .env`
- **Step 4**: Generate APP\_KEY

    > `php artisan key:generate`
- **Step 5**: Install dependencies via Composer

    > `composer install`
- **Step 6**: Configure database in .env file

    Edit database connection information in .env file:

    ```
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=your_database_name
    DB_USERNAME=your_username
    DB_PASSWORD=your_password

    ```
- **Step 7**: Initialize S-Cart

    > `php artisan sc:install`
- **Step 8**: Install sample data (optional)

    > `php artisan sc:sample`

### Important Note on Directory Permissions

[](#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:
-------------------

[](#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)

**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 example `app/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 -&gt; app/GP247/Core/Controllers

> Step 2: Change `namespace GP247\Core\Controllers` to `namespace 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 -&gt; app/GP247/Core/Api/Controllers

> Step 2: Change `namespace GP247\Core\Api\Controllers` to `namespace App\GP247\Core\Api\Controllers`

Add route
---------

[](#add-route)

Use prefix and middleware constants `GP247_ADMIN_PREFIX`, `GP247_ADMIN_MIDDLEWARE` in route declaration.

References:

Environment variables in .env file
----------------------------------

[](#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`

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance59

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~8 days

Total

51

Last Release

265d ago

Major Versions

v7.2.5 → v8.0-beta2023-02-23

v7.2.5.1 → v8.0-beta-22023-03-08

v8.1.10 → v9.02024-03-21

8.1.11 → v9.0.22024-10-01

v9.0.3 → 10.0-beta2025-04-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/79f4b7d4ae819617f8f40655afc6b944cac66e1462faf3275ea58d721d11dd00?d=identicon)[lanhktc](/maintainers/lanhktc)

![](https://www.gravatar.com/avatar/587b13856305a9f8f916f55820617724fe96ee59c1656e5ac672caae9360cf37?d=identicon)[s-cart](/maintainers/s-cart)

---

Top Contributors

[![s-cart](https://avatars.githubusercontent.com/u/63009096?v=4)](https://github.com/s-cart "s-cart (45 commits)")

---

Tags

e-commerceecommercefree-shopping-cartfree-websitelaravellaravel-ecommerces-cart-website-ecommercescartscart-ecommercescart-open-sourcegp247laravel ecommerceSCart ecommerceSCart open sourceFree Shopping cartS-CartLaravel multiple vendorLaravel marketplaceLaravel multiple store

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/s-cart-s-cart/health.svg)

```
[![Health](https://phpackages.com/badges/s-cart-s-cart/health.svg)](https://phpackages.com/packages/s-cart-s-cart)
```

###  Alternatives

[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[jsdecena/laracom

Laravel powered e-commerce

2.0k4.4k](/packages/jsdecena-laracom)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
