PHP code example of pushpress / php-sdk

1. Go to this page and download the library: Download pushpress/php-sdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pushpress / php-sdk example snippets



pplication code...


PushpressApi::setApiKey(YOUR_API_PUBLIC_KEY);        


$plans = Pushpress_Plan::all(array("order_by" => "name", "active"=>1));
js
{
    "ushpress/php-sdk": "dev-master",
    }
}