PHPackages                             shopgate/webcheckout-shopware6 - 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. shopgate/webcheckout-shopware6

ActiveShopware-platform-plugin

shopgate/webcheckout-shopware6
==============================

Shopgate Webcheckout for Shopware 6

3.3.1(5mo ago)021.2k↓32.1%proprietaryPHP

Since Apr 19Pushed 2mo ago9 watchersCompare

[ Source](https://github.com/shopgate/shopware6-webcheckout)[ Packagist](https://packagist.org/packages/shopgate/webcheckout-shopware6)[ RSS](/packages/shopgate-webcheckout-shopware6/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (34)Used By (0)

Shopgate Shopware6 Webcheckout
==============================

[](#shopgate-shopware6-webcheckout)

Production Checklist
--------------------

[](#production-checklist)

### Install

[](#install)

#### Packagist install (recommended)

[](#packagist-install-recommended)

If this plugin is available on `packagist.org` to install simply add the composer package to the shopware's root composer:

```
cd [shopware6 root folder]
composer require shopgate/webcheckout-shopware6
```

Afterward just increment the plugin version inside `root/composer.json`, and run `composer update` to get the latest version.

#### Folder install

[](#folder-install)

It can be installed manually by copying the plugin folder to `custom/plugins` directory. Like so `custom/plugins/SgateWebcheckoutSW6`. Then you can install &amp; enable like any other plugin. For this install method, please make sure that there is a `vendor` directory inside the plugin folder as we have composer dependencies. You could do it yourself by running:

```
cd [plugin folder]
# this is because we do not want to install shopware core files
composer remove shopware/core
```

#### Composer symlink (development)

[](#composer-symlink-development)

Place the plugin in the `custom/plugins` folder. You can now link it to composer by running this command in the root directory:

```
cd custom/plugins
git clone git@github.com:shopgate/shopware6-webcheckout.git
cd ../..
composer require shopgate/webcheckout-shopware6
```

### Enable &amp; Activate

[](#enable--activate)

Install and activate the module via command line:

```
cd [shopware6 root folder]
bin/console plugin:refresh
bin/console plugin:install --activate SgateWebcheckoutSW6
```

You may install and activate via the Shopware administration panel instead, if you prefer.

### JS Compilation

[](#js-compilation)

For Shopware 6.5+ after installing &amp; enabling the plugin you will need to re-compile JS. If you have a GitHub installation, this should suffice:

```
composer run build:js
bin/console theme:compile
```

For regular installations via Symfony2 Flex, zip or shopware-installer.phar.php:

```
bin/build-js.sh
```

### CSS Compilation

[](#css-compilation)

After every time you configure CSS in the `Admin > Extensions > Shopgate Webcheckout Config > Custom CSS` you will need to recompile your theme (currently only via command line):

```
bin/console theme:compile
```

### Signature Secret

[](#signature-secret)

The App will be redirecting the customer to the checkout page or their account pages. In order to keep the login information secure we will need to encrypt the calls the App makes. Therefore, we need a secure password of sorts to encrypt this login data. Shopware 6 has a native security key that it uses for such cases, it's called an `APP_SECRET`.

Firstly, you can check this value inside `[root]/.env` file. In development mode, it could be set to `APP_SECRET: 1`. Which will not work as that's a lousy secret, and is meant to be changed.

If you do not see it there or want Shopware 6 to manage this data instead of leaving in a file. Then you can do the following to check the secret value:

```
bin/console secrets:list --reveal
```

If no value is set, you can set a secure secret for your store by running this command in the console:

```
bin/console secrets:set APP_SECRET --random
```

Make sure you adhere to these minimum requirements when creating the secret key:

- the secret must be at least 8 characters in length;
- upper and/or lowercase letters are used;

### Configurations

[](#configurations)

- Currently, we do not support enabling `Settings  Login / Registration > Clear and delete cart on log out` setting. If you must keep it enabled, you could create a separate Sales Channel for the Shopgate App to use.

Development
-----------

[](#development)

### Cookies

[](#cookies)

You can partially mimic a customer viewing our App by enabling a cookie in the browser `sgWebView`. This is useful if you want to add CSS classes, and see how they show up without needing the App.

Open browser console and paste:

```
// Enable view
document.cookie="sgWebView=1; expires=Thu, 18 Dec 2043 12:00:00 GMT; path=/; SameSite=None; Secure";
// Disable view
document.cookie="sgWebView=0; expires=Thu, 18 Dec 2043 12:00:00 GMT; path=/; SameSite=None; Secure";
```

### CSS

[](#css)

If you need to work with CSS quicker, you can enable SW6's storefront-watch &amp; update our CSS file `src/Resources/app/storefront/src/scss/base.scss`

#### Example CSS handles

[](#example-css-handles)

These are just examples, look at the body classes to see what page has what handles

```
/* All pages */
.is-sg-app {
    display: none;
}

/* Login page -> account/login */
body.is-ctl-auth.is-act-loginpage.is-sg-app {
    display: none;
}

/* Registration page -> account/register */
body.is-ctl-register.is-act-accountregisterpage.is-sg-app {
    display: none;
}
```

#### Special:

[](#special)

- `.is-sg-codebase-v1` - references the older Swift/Java App base, we know it by seeing Codebase:&lt;11 in the Agent Header
- `.is-sg-codebase-v2` - references the newer React Native App base, we know it by seeing Codebase: 11+ in the Agent Header (e.g. `libshopgate/25.0 (Jagdwelt 24 11.0.2 Codebase:11.0.2)`)

### Session extending

[](#session-extending)

If you are creating a custom extension. A header `shopgate-check: 1` needs to be provided with the regular SW6 Storefront API calls to extend the current customer session (in case it expired). This will make sure they don't get logged out too often.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance81

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 96.4% 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 ~44 days

Recently: every ~86 days

Total

33

Last Release

61d ago

Major Versions

1.4.1 → 2.1.02024-02-12

1.5.0 → 2.2.02024-04-03

2.2.3 → 3.0.02024-07-11

2.2.4 → 3.1.02024-09-06

2.3.0 → 3.3.02025-06-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3f2154c032da9f97644b2bc9f2a44bd62aaac17444aa759006a56d8becd63af?d=identicon)[shopgate](/maintainers/shopgate)

---

Top Contributors

[![augsteyer](https://avatars.githubusercontent.com/u/844601?v=4)](https://github.com/augsteyer "augsteyer (187 commits)")[![Stereck](https://avatars.githubusercontent.com/u/1629282?v=4)](https://github.com/Stereck "Stereck (7 commits)")

---

Tags

mobileapp

### Embed Badge

![Health badge](/badges/shopgate-webcheckout-shopware6/health.svg)

```
[![Health](https://phpackages.com/badges/shopgate-webcheckout-shopware6/health.svg)](https://phpackages.com/packages/shopgate-webcheckout-shopware6)
```

###  Alternatives

[mobiledetect/mobiledetectlib

Mobile\_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

10.7k159.4M431](/packages/mobiledetect-mobiledetectlib)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[giggsey/libphonenumber-for-php

A library for parsing, formatting, storing and validating international phone numbers, a PHP Port of Google's libphonenumber.

5.0k148.7M416](/packages/giggsey-libphonenumber-for-php)[jenssegers/agent

Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect

4.8k67.8M440](/packages/jenssegers-agent)[giggsey/libphonenumber-for-php-lite

A lite version of giggsey/libphonenumber-for-php, which is a PHP Port of Google's libphonenumber

8912.9M47](/packages/giggsey-libphonenumber-for-php-lite)[fotografde/cakephp-sms

SMS Plugin for CakePHP

1273.2k](/packages/fotografde-cakephp-sms)

PHPackages © 2026

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