PHP script that sends a GCM push message.
-
Add API access key:
define( 'API_ACCESS_KEY', '<access key>' );
-
Add GCM registration tokens
$registrationIds = array ( "<GCM ID>" );
-
Run the script.
Note: This is not a GCM server and is only meant for development/testing.