PHPackages                             silvercommerce/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. silvercommerce/stock

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

silvercommerce/stock
====================

Module that adds stock control to SilverCommerce

1.0.2(5y ago)01.1k3[1 issues](https://github.com/silvercommerce/stock/issues)1BSD-3-ClausePHPCI failing

Since Jun 10Pushed 10mo ago3 watchersCompare

[ Source](https://github.com/silvercommerce/stock)[ Packagist](https://packagist.org/packages/silvercommerce/stock)[ Docs](http://github.com/silvercommerce/stock)[ RSS](/packages/silvercommerce-stock/feed)WikiDiscussions 1 Synced 3d ago

READMEChangelogDependencies (5)Versions (6)Used By (1)

SilverCommerce stock tracking
=============================

[](#silvercommerce-stock-tracking)

Simple module for tracking stock levels for SilverCommerce products

Install
-------

[](#install)

Install this module using composer:

```
composer require silvercommerce/stock

```

Usage
-----

[](#usage)

Once installed this module adds some more fields to a `CatalogueProduct` (which can be changed via a Product's "Settings" tab):

`Stocked`: Is this product stocked (should SilverCommerce track stock levels against it)?

`StockLevel`: What is the current stock level for the current product.

`LowStock`: What is the low stock level for this product? If the stock level gets below this level, the catalogue admin gridfield will display a notification.

`AvailableOutOfStock`: Can this product be purchased when out of stock?

Email Notifications
-------------------

[](#email-notifications)

This module allows email notifications to be sent when stock levels get low, are out of stock or are understocked (less than 0).

To enable email notifications, you have to add the email addresses you want to recieve notifications to the `StockController` via config.yml, eg:

```
SilverCommerce\Stock\Helpers\StockController:
    send_alerts_to:
        - email1@domain.com
        - email2@domain.com

```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88% 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 ~462 days

Total

5

Last Release

316d ago

### Community

Maintainers

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

---

Top Contributors

[![mlewis-everley](https://avatars.githubusercontent.com/u/687143?v=4)](https://github.com/mlewis-everley "mlewis-everley (22 commits)")[![Makreig](https://avatars.githubusercontent.com/u/6011781?v=4)](https://github.com/Makreig "Makreig (3 commits)")

---

Tags

silverstripesilverstripe-4silverstripe-modulesilverstripeecommercecommercestocksilvercommercestock management

### Embed Badge

![Health badge](/badges/silvercommerce-stock/health.svg)

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

PHPackages © 2026

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