Search by

jaizendra-netizen / sdr-activity-report

onegtmlab

PHP CLI and library: activity report per sales development rep from a CSV of logged calls, emails, LinkedIn touches and meetings, with totals, daily averages and the channel mix.

Package info

github.com/jaizendra-netizen/sdr-activity-report

Homepage

Type:project

pkg:composer/jaizendra-netizen/sdr-activity-report

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-11-28 13:36 UTC

This package is not auto-updated.

Last update: 2026-11-29 11:59:33 UTC


README

A small PHP command-line tool and library that reports what each sales development representative actually did. From a CSV of logged activities (rep, date, type: call, email, linkedin or meeting) it prints per rep the count of each type, the total, the number of active days and the average per active day, then the channel mix across the team. Offline, no dependencies. Built by OneGTMLab (GTM engineering for B2B teams).

Install

composer require jaizendra-netizen/sdr-activity-report

Use

rep,date,type
Ana,2026-11-02,call
Ana,2026-11-02,call
Ana,2026-11-02,email
Ana,2026-11-03,linkedin
Ben,2026-11-02,email
Ben,2026-11-02,meeting
vendor/bin/sdr-activity activities.csv
rep      calls emails linkedin meetings  total  days  per_active_day
Ana          2      1        1        0      4     2  2.0
Ben          0      1        0        1      2     1  2.0
mix: call 33.3%, email 33.3%, linkedin 16.7%, meeting 16.7%

An active day is a date with at least one logged activity for that rep. An unknown type, a date that is not YYYY-MM-DD, a missing column or an unreadable file stops with error: ... and exit code 1; no arguments prints usage and exits 2.

Test

php tests/run.php

MIT licence.