PHPackages                             fond-of-spryker/stock - 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. [Database &amp; ORM](/categories/database)
4. /
5. fond-of-spryker/stock

ActiveLibrary[Database &amp; ORM](/categories/database)

fond-of-spryker/stock
=====================

019.0kPHP

Since Apr 5Pushed 4y ago2 watchersCompare

[ Source](https://github.com/fond-of/spryker-stock)[ Packagist](https://packagist.org/packages/fond-of-spryker/stock)[ RSS](/packages/fond-of-spryker-stock/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Stock API Module
================

[](#stock-api-module)

[![Build Status](https://camo.githubusercontent.com/2c56814660f4ca6e0dcd5a757209f26d8b069c7b7995e9bb051d99f2fd441aaf/68747470733a2f2f7472617669732d63692e6f72672f666f6e642d6f662f737072796b65722d73746f636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fond-of/spryker-stock)[![PHP from Travis config](https://camo.githubusercontent.com/9d245815c30188a34e60692f24442c3fe7e92f9958d8a7a1d6f7463e7ed866b3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f73796d666f6e792f73796d666f6e792e737667)](https://php.net/)[![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/fond-of-spryker/stock)

Description
-----------

[](#description)

Adds console command "stock:warehouse:assign". Since the ZED backend can not handle the store to warehouse assignment by gui (gateway timeout). Just use the console to handle it.

```
vendor/bin/console stock:warehouse:assign -w STORENAME_OR_ID -s STORE_NAMES_OR_IDS

stock:warehouse:assign -w EU -s 1,4,5,6
stock:warehouse:assign -w EU -s STORE,STORE2,STORE3
stock:warehouse:assign -w 1 -s 1,STORE2,3

```

Installation
------------

[](#installation)

```
composer require fond-of-spryker/stock

```

Register "src/FondOfSpryker/Zed/Stock/Communication/Console/StockConsole.php" in "src/Pyz/Zed/Console/ConsoleDependencyProvider.php"

```
/**
     * @param \Spryker\Zed\Kernel\Container $container
     *
     * @return \Symfony\Component\Console\Command\Command[]
     */
    protected function getConsoleCommands(Container $container)
    {
        $commands = [
            ...
            new StockConsole(),
        ];

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c8ae669ad5d4e25d1564b2ee381e86fb88b3d9f132040a1a6b642de43b7a417?d=identicon)[daniel-rose](/maintainers/daniel-rose)

![](https://www.gravatar.com/avatar/2f5bd8b1a3358200680cbaf5d0dce827afb0569cc997877854354cc70bcf5a61?d=identicon)[julianzimmermann](/maintainers/julianzimmermann)

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

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

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

---

Top Contributors

[![SpiderDan98](https://avatars.githubusercontent.com/u/40319023?v=4)](https://github.com/SpiderDan98 "SpiderDan98 (3 commits)")

### Embed Badge

![Health badge](/badges/fond-of-spryker-stock/health.svg)

```
[![Health](https://phpackages.com/badges/fond-of-spryker-stock/health.svg)](https://phpackages.com/packages/fond-of-spryker-stock)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)

PHPackages © 2026

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