This is a tutorial on how to integrate M-PESA into a core PHP application! How to use this repository Just clone this project, create a new application in your safaricom developer's portal, replace the details in MpesaProcessor.php file then test.