No description
  • PHP 98.8%
  • Dockerfile 1.2%
Find a file
2026-05-18 19:53:39 +02:00
migration fix(tracked-match): lp incertain 2026-05-02 15:45:50 +02:00
src feat(tracked-match): add new arena id 2026-05-18 19:53:39 +02:00
.editorconfig fix: let git handle line ending + editorconfig for code editor 2026-04-08 17:35:38 +02:00
.env.example init project 2026-04-06 17:50:07 +02:00
.gitattributes fix: let git handle line ending + editorconfig for code editor 2026-04-08 17:35:38 +02:00
.gitignore feat(database): use env SQLITE_FILE 2026-04-08 17:23:10 +02:00
.php-cs-fixer.php fix: let git handle line ending + editorconfig for code editor 2026-04-08 17:35:38 +02:00
.phpactor.json fix(tracked-match): don't break streak on fast-surrender 2026-04-13 16:54:58 +02:00
application.php feat: get new match command 2026-04-11 01:06:04 +02:00
composer.json feat: fetch puuid 2026-04-08 02:33:18 +02:00
composer.lock feat: fetch puuid 2026-04-08 02:33:18 +02:00
Dockerfile chore(docker-image): docker image for building prod 2026-05-03 15:00:47 +02:00
phpstan.neon feat: get new match command 2026-04-11 01:06:04 +02:00
README.md doc: update readme 2026-05-03 16:29:39 +02:00

LoL Leaderboard Webhook

A simple tool to track League of Legends accounts, generate a leaderboard, and send match updates to a webhook.

Features

  • Generate a leaderboard from tracked LoL accounts and optionaly send the leaderboard to a webhook
  • Fetch recent matches for players and optionaly send the matches to a webhook
  • Store data locally using SQLite

Usage

Generate a leaderboard snapshot:

php application.php -n app:generate-leaderboard <riot-players-id> --discord-webhook="webhook_url"
  • riot-players-id: Riot accounts identifier
  • --discord-webhook: (optional) send leaderboard snapshot to a webhook

Fetch and track matches for players:

php application.php -n app:track-matches <riot-players-id> --discord-webhook="webhook_url"
  • riot-players-id: Riot accounts identifier
  • --discord-webhook: (optional) send match updates to a webhook

Environment Variables

  • SQLITE_DATABASE -> path to the SQLite database file
  • RIOT_API_KEY -> your Riot API key
  • RUN_MIGRATION=1 -> run database migrations