PHP code example of maxio / advanced-billing-sdk

1. Go to this page and download the library: Download maxio/advanced-billing-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/ */

    

maxio / advanced-billing-sdk example snippets


composer 

"    "maxio/advanced-billing-sdk": "5.2.0"
}

$client = AdvancedBillingClientBuilder::init()
    ->basicAuthCredentials(
        BasicAuthCredentialsBuilder::init(
            'BasicAuthUserName',
            'BasicAuthPassword'
        )
    )
    ->environment(Environment::PRODUCTION)
    ->subdomain('subdomain')
    ->domain('chargify.com')
    ->build();