Skip to content
/ yo-php Public
forked from nanexcool/yo-php

Send Yos from your PHP app with 2 lines of code.

License

Notifications You must be signed in to change notification settings

YoApp/yo-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

yo-php

Send Yos from your PHP app with 2 lines of code.

Example

<?php

// Add file
require('yo.php');

// Get an API Key at dev.justyo.co
$apiKey = 'YOUR_API_KEY';

// Instanciate
$yo = new Yo($apiKey);

// Send a Yo to all your subscribers
$yo->all();

// Send a Yo to one user
$yo->user('USERNAME');

// Get number of subscribers
$count = $yo->subscribers(); // returns an int or false
?>

About

Send Yos from your PHP app with 2 lines of code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published