PHPackages                             chemaclass/stock-ticker - 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. [API Development](/categories/api)
4. /
5. chemaclass/stock-ticker

AbandonedArchivedProject[API Development](/categories/api)

chemaclass/stock-ticker
=======================

An API to gather the latest info from your stocks

311PHP

Since Nov 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Chemaclass/stock-ticker)[ Packagist](https://packagist.org/packages/chemaclass/stock-ticker)[ RSS](/packages/chemaclass-stock-ticker/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Stock Ticker
============

[](#stock-ticker)

[![Build Status](https://camo.githubusercontent.com/d69a50b3010bb15f967975d9ef07cf9bb52a14e11cb7a93998298a1546df156a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4368656d61636c6173732f73746f636b2d7469636b65722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Chemaclass/stock-ticker/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/42c8dda6d4f984f56b24b842252b90d3316f587f4f166c2d98fab66293d89736/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4368656d61636c6173732f73746f636b2d7469636b65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Chemaclass/stock-ticker/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6f8ea093e12cd69dc35a1dd677e4e5ed4928990c13e999850906421121250977/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4368656d61636c6173732f73746f636b2d7469636b65722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Chemaclass/stock-ticker/?branch=master)[![MIT Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Minimum PHP Version](https://camo.githubusercontent.com/eb773fa94283cbea6c7b192d460983a781ae4a16409af56d109fe3e8e71ab6c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)

This is an API to get a notification (via email and/or slack) with the latest news related to the Stock Symbol that you are interested in based on a personal lookup that you can define yourself.

### Set up the project

[](#set-up-the-project)

#### Define your env variables

[](#define-your-env-variables)

```
cp .env.dist .env
```

#### Install dependencies

[](#install-dependencies)

```
composer install
# Or using docker
docker-compose up -d
docker-compose exec stock_ticker composer install
```

#### Execute the commands

[](#execute-the-commands)

```
php bin/console crawl DIS TSLA
# Or using docker
docker exec -ti -u dev stock_ticker php bin/console crawl DIS TSLA
```

### Commands

[](#commands)

- [Crawl](src/StockTicker/Infrastructure/Command/CrawlCommand.php): It crawls multiple websites and group their info per stock.

    - `php bin/console crawl DIS TSLA --maxNews=8`
    - Options
        - `maxNews`: Max number of news to fetch per crawled site
- [Notify](src/StockTicker/Infrastructure/Command/NotifyCommand.php): It crawls and notifies via different channels.

    - `php bin/console notify DIS TSLA --maxNews=5 --channels=email,slack --sleepingTime=10`
    - Options
        - `maxNews`: Max number of news to fetch per crawled site
        - `maxRepetitions`: Max number repetitions for the loop
        - `channels`: Channels to notify separated by a comma. For example `email` and `slack`
        - `sleepingTime`: Sleeping time in seconds

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 89.2% 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/3d166420c6770c5941e10bd68b2d26501eabb432e280d8e6eba0a344bcc1e5ae?d=identicon)[Chemaclass](/maintainers/Chemaclass)

---

Top Contributors

[![Chemaclass](https://avatars.githubusercontent.com/u/5256287?v=4)](https://github.com/Chemaclass "Chemaclass (99 commits)")[![JesusValeraDev](https://avatars.githubusercontent.com/u/6381924?v=4)](https://github.com/JesusValeraDev "JesusValeraDev (12 commits)")

---

Tags

apicrawlerfinancemarketnotificationstocktickeryahoo

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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