Download the PHP package gogilo/sms-parser-cli without Composer
On this page you can find all versions of the php package gogilo/sms-parser-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gogilo/sms-parser-cli
More information about gogilo/sms-parser-cli
Files in gogilo/sms-parser-cli
Download gogilo/sms-parser-cli
More information about gogilo/sms-parser-cli
Files in gogilo/sms-parser-cli
Vendor gogilo
Package sms-parser-cli
Short Description A CLI tool to extract M-Pesa transactions from SMS XML backups
License MIT
Package sms-parser-cli
Short Description A CLI tool to extract M-Pesa transactions from SMS XML backups
License MIT
Please rate this library. Is it a good library?
Informations about the package sms-parser-cli
M-Pesa SMS Parser CLI
A PHP-based command-line tool for parsing M-Pesa SMS backup XML files and extracting incoming transactions into a CSV file.
📦 Features
- Parses SMS backup files (e.g., from SMS Backup & Restore app)
- Extracts M-Pesa received payments from a specific sender
- Saves unique transactions to
mpesa_transactions.csv - Detects and skips duplicates
- Works with
sms-*.xmlfiles in the current directory
🚀 Installation
1. Clone the Repository
2. Install Globally via Composer
If you push this to GitHub, you can later install it directly via:
✅ Usage
In any directory with sms-*.xml files:
Arguments
"JOHN DOE"— The name of the person you're expecting M-Pesa payments from. It should appear exactly as shown in the SMS body.
📂 Output
A CSV file mpesa_transactions.csv will be created with the following columns:
DateMpesa ReferenceFrom NameFrom PhoneAmount
Duplicates (based on reference code) are automatically skipped.
📘 Example
Output:
🔧 Requirements
- PHP 7.4+
- Composer
📄 License
MIT
🙏 Acknowledgements
Created by Ogilo G.D. Ouma
SMS format based on Safaricom M-Pesa messages
All versions of sms-parser-cli with dependencies
PHP Build Version
Package Version
The package gogilo/sms-parser-cli contains the following files
Loading the files please wait ...