PHPackages                             gp247/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. [Framework](/categories/framework)
4. /
5. gp247/s-cart

ActiveProject[Framework](/categories/framework)

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

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

1.0.1(10mo ago)81533MITPHPPHP ^8.2

Since Aug 22Pushed 7mo agoCompare

[ Source](https://github.com/gp247net/s-cart)[ Packagist](https://packagist.org/packages/gp247/s-cart)[ Docs](https://gp247.net)[ Fund](https://gp247.net)[ GitHub Sponsors](https://github.com/gp247net)[ RSS](/packages/gp247-s-cart/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (13)Versions (3)Used By (0)

 [![](https://camo.githubusercontent.com/82b6e637f0a16b469bb7ee16175373f18b1f94fe96687814841c5e9dcce07ee0/68747470733a2f2f7374617469632e67703234372e6e65742f706167652f732d636172742f6c6f676f2e706e67)](https://gp247.net)

Free and open-source eCommerce website
 `composer create-project gp247/s-cart`

 [Homepage](https://gp247.net) | [Demo](https://demo.s-cart.org) | [Documentation](https://gp247.net/en/docs/s-cart/s-cart-overview.html) | [Facebook Group](https://www.facebook.com/groups/scart.opensource)

[![Packagist Downloads](https://camo.githubusercontent.com/c8df75e749a6ae5a8f9599ebf6a19e8624dd24fc2c4cce0dd797b891377916fc/68747470733a2f2f706f7365722e707567782e6f72672f67703234372f732d636172742f642f746f74616c)](https://packagist.org/packages/gp247/s-cart)[![Latest Stable Version](https://camo.githubusercontent.com/57299b87171ae3dc3b6fc0261f90a5337a5c700ea1d00750ae4445224b9a4f57/68747470733a2f2f706f7365722e707567782e6f72672f67703234372f732d636172742f762f737461626c652e737667)](https://github.com/gp247net/s-cart/releases)[![License](https://camo.githubusercontent.com/181d16e7561d82ece03279a12f21f4ef38a9ec9dfe07623bbd4ef3de05b1ac9d/68747470733a2f2f706f7365722e707567782e6f72672f67703234372f732d636172742f6c6963656e7365)](https://github.com/gp247net/s-cart/blob/master/LICENSE)[![Ask DeepWiki](https://camo.githubusercontent.com/0f5ae213ac378635adeb5d7f13cef055ad2f7d9a47b36de7b1c67dbe09f609ca/68747470733a2f2f6465657077696b692e636f6d2f62616467652e737667)](https://deepwiki.com/gp247net/s-cart)

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

[](#about-s-cart)

S-Cart is a free eCommerce website project for individuals and businesses, built on top of the Laravel Framework and modern technologies. Our goal is "Efficient and friendly for everyone":

- Efficient: Satisfy even the smallest customer requirements.
- Friendly: Easy to use, maintain, and extend.
- Everyone: Businesses, individuals, developers, students.

\[New versions of S-Cart since 2025 are developed by the GP247 team\]

About components:

> **S-Cart** = `Laravel` + `GP247/Core` + `GP247/Front` + `GP247/Shop`

Screenshots
-----------

[](#screenshots)

[![](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 features
---------------

[](#s-cart-features)

### S-Cart - FREE eCommerce website solution for businesses

[](#s-cart---free-ecommerce-website-solution-for-businesses)

#### Core capabilities

[](#core-capabilities)

- HMVC-based plugin package architecture
- Upgrade and patch S-Cart via CLI
- Full documentation for developers and customers

#### Professional eCommerce features

[](#professional-ecommerce-features)

- **Multi-language**
- **Multi-currency**
- **Full eCommerce capabilities:**
    - Cart management
    - Order management
    - Product management
    - Customer management
- **CMS content management:**
    - Categories
    - News/Blog
    - Content pages
- **Extensions:**
    - Payment plugins
    - Shipping methods
    - Discount system
    - Tax calculation
- **Professional plugins for S-Cart:**
    - Multi-vendor:
    - Multi-stores:
- **Developer resources:**
    - Online library: plugins and templates
    - API with auth for mobile and integration

#### Powerful administration features

[](#powerful-administration-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 management
    - Analytics and reports
    - Activity tracking

S-Cart 1.x
----------

[](#s-cart-1x)

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

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

Project structure using GP247
-----------------------------

[](#project-structure-using-gp247)

```
Website-folder/
|
├── app
│     └── GP247
│           ├── Core(+) //Customize Core controllers
│           ├── Helpers(+) //Auto-load Helpers/*.php into the system
│           ├── Front(+) //Customize GP247/Front controllers
│           ├── Shop(+) //Customize GP247/Shop controllers
│           ├── Plugins(+) //Use `php artisan gp247:make-plugin --name=NameOfPlugin`
│           └── Templates(+) //Use `php artisan gp247:make-template --name=NameOfTempate`
├── public
│     └── GP247
│           ├── Core(+)
│           ├── Plugins(+)
│           └── Templates(+)
├── resources
│            └── views/vendor
│                           |── gp247-core(+) //Customize core views
│                           └── gp247-front(+) //Customize front views
├── vendor
│     ├── gp247/core
│     ├── gp247/front
│     └── gp247/shop
└──...

```

Quick installation guide
------------------------

[](#quick-installation-guide)

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

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

- Step 1:

    Command:

    > `composer create-project gp247/s-cart`
- Step 2: Check configuration in .env

    Ensure your database configuration and APP\_KEY in .env are properly set.

    If APP\_KEY is not set, generate one:

    > `php artisan key:generate`
- Step 3: Initialize S-Cart

    Run:

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

    If you want sample data, run:

    > `php artisan sc:sample`

### Method 2: Install via Git Clone

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

- Step 1: Clone repository from GitHub

    > `git clone https://github.com/gp247net/s-cart.git`
- Step 2: Move into project folder

    > `cd s-cart`
- Step 3: Create .env from example

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

    Edit database connection in .env:

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

### Method 3: Install each component (Laravel + GP247/Core + GP247/Front + GP247/Shop)

[](#method-3-install-each-component-laravel--gp247core--gp247front--gp247shop)

- Step 1: Create a Laravel 12.x project (or use an existing one)

    > `composer create-project laravel/laravel s-cart`
- Step 2: Change into the s-cart folder and install GP247 components in order

    > `composer require gp247/core`

    > `composer require gp247/front`

    > `composer require gp247/shop`
- Step 3: Register Service Providers

    Open `bootstrap/providers.php`, add these 2 providers to the end of the returned array:

    ```
    GP247\Front\FrontServiceProvider::class,
    GP247\Shop\ShopServiceProvider::class,
    ```
- Step 4: Configure routing and exceptions for GP247

    Open `bootstrap/app.php`:

    - Comment out the web routes line:

        ```
        //GP247 comment
        //web: __DIR__.'/../routes/web.php',
        ```
    - Add exception handling (place inside the exceptions configuration block):

        ```
        // GP247 add new
        $exceptions->report(function (\Throwable $e) {
            if (function_exists('gp247_handle_exception')) {
                gp247_handle_exception($e);
            }
        });
        ```
- Step 5: Generate APP\_KEY if not yet present

    > `php artisan key:generate`
- Step 6: Configure database in .env

    Edit database connection in .env:

    ```
    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: Run the following commands in sequence to install

    > `php artisan gp247:core-install`

    > `php artisan gp247:front-install`

    > `php artisan gp247:shop-install`
- Step 8: Install sample data (optional)

    > `php artisan gp247:shop-sample`

### Important folder permissions

[](#important-folder-permissions)

Ensure the following folders are writable:

- `app/GP247`
- `public/GP247`
- `public/vendor`
- `resources/views/vendor`
- `storage`
- `vendor`

If write permissions are incorrect, installation and various features may not work properly.

Useful information
------------------

[](#useful-information)

**Check S-Cart version**

(Only available when installing S-Cart directly)

> `php artisan sc:info`

**Update S-Cart**

Update packages:

(Only available when installing S-Cart directly)

> `composer update gp247/core`

> `composer update gp247/front`

> `composer update gp247/shop`

Then run:

> `php artisan sc:update`

**Create plugin:**

> `php artisan gp247:make-plugin  --name=PluginName`

Create plugin zip file:

> `php artisan gp247:make-plugin  --name=PluginName --download=1`

**Create template:**

> `php artisan gp247:make-template  --name=TemplateName`

Create template zip file:

> `php artisan gp247:make-template  --name=TemplateName --download=1`

Customization
-------------

[](#customization)

**Publish lfm config for uploads**

> `php artisan vendor:publish --tag=config-lfm`

**Customize core admin views**

> `php artisan vendor:publish --tag=gp247:view-core`

**Override 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 `app/GP247/Helpers`, e.g. `app/GP247/Helpers/myfunction.php`

**Override gp247 controllers**

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

**Override gp247 API controllers**

> 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 routes
----------

[](#add-routes)

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

Reference:

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

[](#environment-variables-in-env)

**Disable API**

> `GP247_API_MODE=1` // Set 0 to disable

**Database table prefix**

> `GP247_DB_PREFIX=gp247_` // Cannot be changed after gp247 installation

**Admin path prefix**

> `GP247_ADMIN_PREFIX=gp247_admin`

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance60

Regular maintenance activity

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~8 days

Total

2

Last Release

308d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/135157421?v=4)[gp247](/maintainers/gp247)[@GP247](https://github.com/GP247)

---

Top Contributors

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

---

Tags

gp247laravel ecommerceSCart ecommerceSCart open sourceFree Shopping cartS-CartLaravel multiple vendorLaravel marketplaceLaravel multiple store

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[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.

3991.8k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v5 Starter Kit for Laravel 13, designed to accelerate the development of Filament-powered applications.

461.7k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

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