PHP code example of starteed / crowdfunding

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

    

starteed / crowdfunding example snippets


    
     use GuzzleHttp\Client;
    use Starteed\SelfCrowdfunding;
    use Http\Adapter\Guzzle6\Client as GuzzleAdapter;
    
    $http_client = new GuzzleAdapter(new Client);
    $starteed = new Crowdfunding($http_client, [
        'platform' => 'myplatform.starteed.com'
    ]);