thoughtchimp/zembed-php-wrapper

This package is abandoned and no longer maintained. No replacement package was suggested.

Zembed api php wrapper

v1.0.1 2017-12-13 09:47 UTC

This package is not auto-updated.

Last update: 2020-05-29 19:50:35 UTC


README

This repository contains the open source PHP SDK that allows you to access the Zembed API from your PHP app.

Installation

The Zembed SDK can be installed with Composer. Run this command:

composer require thoughtchimp/zembed-php-wrapper

Usage

Note: This version of the Zembed SDK for PHP requires PHP 5.5 or greater.

Instantiating SDK

use Zembed\API;

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

Get single embed

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

Get multiple embeds

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

Complete documentation is available here.