emerap/oembed_filter

Oembed service link's replacement to different types of content

dev-master 2016-09-05 10:57 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:26:14 UTC


README

Synopsis

Replacement oEmbed service link to different types of content.

Features

  • Get oembed service response and parse them to array
  • Parse text, find urls, find services to process url
  • Implement API endpoint
  • Implement API multiple schemes
  • Customization html wrapper

Basic usage

use Emerap\OembedFilter\OembedFilter;

....

// Create instance with constructor parameter.
$filter = new OembedFilter('any text with link');

// Apply oembed filter to source text.
$str = $filter->apply();

Supported oEmbed services

Links

Credits

Copyright © 2016 Alexander Pokhodyun