Stackmash - User monitoring notifications and logs. Stackmash gives you real-time notifications for any activity on your website or app, such as user sign-ups, payments, orders, errors, contact requests and more.
- The cURL extension enabled within PHP
- The JSON extension enabled within PHP
Download the Stackmash PHP file here: https://raw.githubusercontent.com/stackmash/stackmash-phpsimple/master/Stackmash.php, then move the file to your project where it can be accessed where needed.
Sending Stackmash notifications is now super simple.
<?php
// Include Stackmash to your project
include_once('Stackmash.php');
// Call the action function, it will give you a response
$response = action(['PUBLIC_KEY', 'PRIVATE_KEY'], 'category-id', 'You have a new notification', 'body text here');
// Optional - you can print the response if you get any errors
print_r($response);
PHP documentation For support, email support@stackmash.com or visit https://stackmash.com/support.