PHPackages                             jinjie/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. jinjie/stock

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

jinjie/stock
============

Display stock widget in SilverStripe

0.0.7(7y ago)036MITPHPPHP &gt;=7.1

Since Feb 1Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (9)Used By (0)

SilverStripe Stock Widget
=========================

[](#silverstripe-stock-widget)

Display stock widget using [AlphaVantage API](alphavantage.co)

A very simple stock widget for my own use in a project. Please contribute to improve this module.

Require SilverStripe ^4

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

[](#installation)

`composer require jinjie/stock`

Usage
-----

[](#usage)

Run `dev/build` and go to `Settings > Stock Widget` to configure the widget, which includes the API key.

Template
--------

[](#template)

### Display

[](#display)

Put $StockWidget anywhere in your template where you want the widget to be rendered.

### Edit the template

[](#edit-the-template)

Copy content in `vendor/jinjie/stock` to `themes//templates/Stock/StockWidget.ss`. Edit accordingly.

Cache
-----

[](#cache)

This module uses cache so it doesn't need to call the API that often. It is recommended to leave it as 60 seconds or more.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~22 days

Recently: every ~28 days

Total

7

Last Release

2575d ago

### Community

Maintainers

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

---

Top Contributors

[![jinjie](https://avatars.githubusercontent.com/u/2721195?v=4)](https://github.com/jinjie "jinjie (8 commits)")

---

Tags

silverstripestockalphavantage

### Embed Badge

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

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

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.1M84](/packages/silverstripe-userforms)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46299.9k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/sharedraftcontent

Share draft page content with non-CMS users

21419.6k11](/packages/silverstripe-sharedraftcontent)[axllent/silverstripe-cms-tweaks

Several CMS usability improvements

1726.3k1](/packages/axllent-silverstripe-cms-tweaks)[nzta/silverstripe-sitebanner

Site-wide banners activated through the CMS

1037.4k](/packages/nzta-silverstripe-sitebanner)

PHPackages © 2026

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