2017 © Pedro Peláez
 

library vidinfo

Fetch Video Info From Realms

image

josip/vidinfo

Fetch Video Info From Realms

  • Tuesday, January 30, 2018
  • by jopacicdev
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

VidInfo - Oembed Video Info

Build Status, (*1)

Vidinfo package takes $url parameter and returns video info via oembed urls from the following service providers:, (*2)

  • YouTube
  • Vimeo

Install via Composer

$ composer require josip/vidinfo

Usage

Use it in static fashion:, (*3)

\Josip\Vidinfo\Vidinfo::getVideoInfo($url)

in order to return array or JSON string, add in the optional second argument:, (*4)

\Josip\Vidinfo\Vidinfo::getVideoInfo($url, $returnType)

The $returnType var can be: object, array, json. Falls back to array., (*5)

License

Free as in free beer., (*6)

The Versions

30/01 2018

dev-master

9999999-dev

Fetch Video Info From Realms

  Sources   Download

The Requires

  • php >=5.4.0

 

The Development Requires