jaizendra-netizen / sdr-activity-report
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
Type:project
pkg:composer/jaizendra-netizen/sdr-activity-report
Requires
- php: >=8.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.