PHP code example of thoughtchimp / zembed-php-wrapper

1. Go to this page and download the library: Download thoughtchimp/zembed-php-wrapper 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/ */

    

thoughtchimp / zembed-php-wrapper example snippets


use Zembed\API;

$api = API('Pass api_key here');

$embed = $api->embed('http://thoughtchimp.com');

$embeds = $api->embeds([
    'http://rohitkhatri.com',
    'http://thoughtchimp.com',
    'https://google.com'
]);