Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

stackmash/stackmash-phpsimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A single file PHP library for Stackmash

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.

Requirements

  • The cURL extension enabled within PHP
  • The JSON extension enabled within PHP

Download the Stackmash PHP file

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.

Start using Stackmash

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);

Documentation

PHP documentation For support, email support@stackmash.com or visit https://stackmash.com/support.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages