Skip to content

PopSugar/Impermium-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Impermium-PHP

A simple PHP wrapper for Impermium

Usage:

    $impermium = new ImpermiumAPI($api_key);

    $response = $impermium->contentComment($event_id, array(
        'uid_ref'       => 'foo',
        'content'       => 'bar',
        'resource_url'  => 'http://www.popsugar.com/',
        'enduser_ip'    => '127.0.0.1',
    ));

    if ($response->spam->label == 'spam') {
        echo "It's spam!";
    }

@author     Alec Vallintine <[email protected]>
@version    0.1
@copyright  Copyright (c) 2011 Sugar Inc.
@link       https://github.com/PopSugar/Impermium-PHP
@license    see LICENSE

About

A Simple php wrapper for Impermium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages