PHPackages                             overherz/cscartsdk - 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. [CLI &amp; Console](/categories/cli)
4. /
5. overherz/cscartsdk

ActiveLibrary[CLI &amp; Console](/categories/cli)

overherz/cscartsdk
==================

Command-line tools for CS-Cart &amp; Multi-Vendor developers

1.3.1.2(2y ago)063MITPHP

Since Apr 5Pushed 2y agoCompare

[ Source](https://github.com/overherz/cscartsdk)[ Packagist](https://packagist.org/packages/overherz/cscartsdk)[ RSS](/packages/overherz-cscartsdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (28)Used By (0)

CS-Cart SDK
===========

[](#cs-cart-sdk)

CS-Cart &amp; Multivendor Command Line Tools for Developers Pride.

Purposes
--------

[](#purposes)

We want to provide convenient developer tools for CS-Cart &amp; Multi-Vendor. This SDK is meant to handle complicated and routine tasks related to add-on and theme development.

Usage
-----

[](#usage)

### Installing

[](#installing)

You'll need [Composer](https://getcomposer.org) installed in your system. Check out its [installation guide](https://getcomposer.org/doc/00-intro.md#globally) if you haven't done that before.

When the Composer is installed, just execute this command in your console:

```
$ composer global require "cscart/sdk:*"
```

### Executing commands

[](#executing-commands)

```
$ cscart-sdk command:name
```

### Command list

[](#command-list)

##### addon:symlink

[](#addonsymlink)

Creates symlinks for add-on files at the CS-Cart installation directory, allowing you to develop and store add-on files in a separate Git repository.

```
$ cscart-sdk addon:symlink --help
Usage:
  addon:symlink [options] [--]

Arguments:
  name                       Add-on ID (name)
  addon-directory            Path to directory with add-on files
  cart-directory             Path to CS-Cart installation directory

Options:
  -r, --relative             Created symlinks will have a relative path to the target file. By default the created symlinks have an absolute path to target.
      --templates-to-design  Whether to take the add-on templates from "var/themes_repository" path at the add-on directory and put them at "design/themes" path in the CS-Cart installation directory . When this option is not specified, the templates are being taken from "var/themes_repository" and also put into "var/themes_repository" directory.
  -h, --help                 Display this help message
  -q, --quiet                Do not output any message
  -V, --version              Display this application version
      --ansi                 Force ANSI output
      --no-ansi              Disable ANSI output
  -n, --no-interaction       Do not ask any interactive question
  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
 Creates symlinks for add-on files at the CS-Cart installation directory, allowing you to develop and store add-on files in a separate Git repository.

```

##### addon:export

[](#addonexport)

Copies or moves all add-on files to the separate directory, preserving the structure of directories.

```
$ cscart-sdk addon:export --help
Usage:
  addon:export [options] [--]

Arguments:
  name                         Add-on ID (name)
  addon-directory              Path to directory where files should be moved to
  cart-directory               Path to CS-Cart installation directory

Options:
  -d, --delete                 Files and directories will be moved instead of being copied.
      --templates-from-design  Whether to take the add-on templates from "design/themes" path at CS-Cart installation directory and put them at "var/themes_repository" path in the add-on files directory. When this option is not specified, the templates are being taken from "var/themes_repository" and also put into "var/themes_repository" directory.
  -h, --help                   Display this help message
  -q, --quiet                  Do not output any message
  -V, --version                Display this application version
      --ansi                   Force ANSI output
      --no-ansi                Disable ANSI output
  -n, --no-interaction         Do not ask any interactive question
  -v|vv|vvv, --verbose         Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
 Copies or moves all add-on files to the separate directory, preserving the structure of directories.

```

##### addon:sync

[](#addonsync)

Synchronizes add-on files between CS-Cart installation directory and the separate directory storing all add-on files. Calling this command has the same effect as calling the "addon:export" and "addon:symlink" commands simultaneously.

```
$ cscart-sdk addon:sync --help
Usage:
  addon:sync [options] [--]

Arguments:
  name                  Add-on ID (name)
  addon-directory       Path to directory where files should be moved to
  cart-directory        Path to CS-Cart installation directory

Options:
  -r, --relative        Created symlinks will have a relative path to the target file. By default the created symlinks have an absolute path to target.
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
 Synchronizes add-on files between CS-Cart installation directory and the separate directory storing all add-on files. Calling this command has the same effect as calling the "addon:export" and "addon:symlink" commands simultaneously.

```

##### addon:build\_upgrade

[](#addonbuild_upgrade)

Creates upgrade package between add-on versions

```
$ php bin/cscart-sdk addon:build_upgrade --help
Usage:
  addon:build_upgrade

Arguments:
  old_addon_version_archive_path  Old add-on version archive path
  new_addon_version_archive_path  New add-on version archive path
  result_dir_path                 Path to a directory where the built upgrade package will be placed

Options:
  -h, --help                      Display this help message
  -q, --quiet                     Do not output any message
  -V, --version                   Display this application version
      --ansi                      Force ANSI output
      --no-ansi                   Disable ANSI output
  -n, --no-interaction            Do not ask any interactive question
  -v|vv|vvv, --verbose            Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  Creates upgrade package between add-on versions

```

Contributing
------------

[](#contributing)

To contribute to this project, you need to know how to work with Git and GitHub:

1. If you haven’t used Git before, check out [this tutorial](http://try.github.io/); you can also read [Git documentation](https://git-scm.com/documentation) or find other tutorials on the Internet;
2. If you want to learn more about GitHub, check out [GitHub Help](https://help.github.com/).

You’ll need a GitHub account to submit an issue or a pull request.

#### Submitting an Issue

[](#submitting-an-issue)

Before you submit an issue, please run a search to see that it wasn’t submitted before. That way we’ll be able to deal with issues faster.

If the issue appears to be a bug, and it hasn’t been reported yet, open a new issue: [switch to the Issues tab](https://github.com/cscart/sdk/issues), press the **New Issue** button and fill in the form. You’ll need to be logged in to your GitHub account.

When submitting an issue, please provide the following information, so that we can fix it quickly:

- **Short summary of the issue** - That helps us to keep things organized.
- **Why is it a problem for you?** - Not all issues are bugs. If you have a suggestion on how to improve SDK, please tell us how this improvement would benefit the project.
- **Browsers and operating systems** - If we know that the issue appears only in specific browsers or only in some operating systems, we’ll be able to reproduce it faster.
- **Steps to reproduce the issue** - We need to see the issue for ourselves to confirm and fix it.
- **Suggest a fix** - If you know what might be causing the bug, please let us know.

#### Submitting a Pull Request

[](#submitting-a-pull-request)

GitHub allows you to make a full copy of the SDK and work on it separately. Once you’ve made some changes, you can send us a pull request so that we can include your changes to the main repository.

To contribute to SDK development, do this:

1. [Register an account at GitHub](https://github.com/join), if you haven’t done it yet—you’ll need the account to complete the following steps.
2. [Fork](https://help.github.com/articles/fork-a-repo/) the SDK — get your own copy of the main SDK repository to work on and experiment with.
3. [Clone your fork](https://help.github.com/articles/cloning-a-repository/) to your local machine—a local repository is where all the work is done.
4. [Create a branch](https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging) in your local clone—having separate branches for different tasks helps to keep things organized.
5. Work on the SDK in this branch. Please make sure to follow PSR coding standards.
6. [Push your changed branch](https://help.github.com/articles/pushing-to-a-remote/) to your fork in your GitHub account—the changes you made locally will appear in your online repository.
7. [Create a pull request](https://help.github.com/articles/using-pull-requests)—submit your changes to us.

That’s it! Our specialists will review the changes and may pull them to the repository.

#### Preparing local development environment

[](#preparing-local-development-environment)

After cloning the forked repository, you'll want to be able to run the `cscart-sdk` command to test things locally. In order to do that, you'll need to install the Composer package from local path.

Add these lines to your global composer configuration file located at `~/.composer/composer.json` path:

```
{
    "minimum-stability": "dev",
    "repositories": [
        {
            "type": "path",
            "url": "/path/to/cloned/repository/directory"
        }
    ],
    "require": {
        "cscart/sdk": "*"
    }
}
```

Don't forget to specify path to the correct directory where you cloned your fork of a repo.

After that, execute this command:

```
$ composer global require "cscart/sdk:*"
```

You need to do this only once; there is no need to re-install the local package every time you make a change in code. Directory with forked repository will be symlinked to your globally installed Composer packages directory.

You're now can test your changes by executing globally available `cscart-sdk` command.

Copyright and License
---------------------

[](#copyright-and-license)

Code released under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 59.1% 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 ~110 days

Recently: every ~207 days

Total

26

Last Release

920d ago

Major Versions

v0.0.4 → v1.0.02016-04-05

### Community

Maintainers

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

---

Top Contributors

[![overherz](https://avatars.githubusercontent.com/u/6239463?v=4)](https://github.com/overherz "overherz (26 commits)")[![alpharder](https://avatars.githubusercontent.com/u/1678161?v=4)](https://github.com/alpharder "alpharder (16 commits)")[![bzzeke](https://avatars.githubusercontent.com/u/967856?v=4)](https://github.com/bzzeke "bzzeke (1 commits)")[![torunar](https://avatars.githubusercontent.com/u/1062217?v=4)](https://github.com/torunar "torunar (1 commits)")

### Embed Badge

![Health badge](/badges/overherz-cscartsdk/health.svg)

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

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M190](/packages/simplesamlphp-simplesamlphp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[humbug/php-scoper

Prefixes all PHP namespaces in a file or directory.

7963.0M34](/packages/humbug-php-scoper)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M151](/packages/sulu-sulu)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)

PHPackages © 2026

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