PHPackages                             frandieguez/panorama-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. frandieguez/panorama-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

frandieguez/panorama-php
========================

Wrapper class for accessing video services information in a standarized way

1.0.14(6y ago)1911.2k9[2 issues](https://github.com/frandieguez/panorama-php/issues)MITPHPPHP &gt;=7.1CI failing

Since Jun 9Pushed 5y ago2 watchersCompare

[ Source](https://github.com/frandieguez/panorama-php)[ Packagist](https://packagist.org/packages/frandieguez/panorama-php)[ Docs](http://frandieguez.github.com/panorama-php/)[ RSS](/packages/frandieguez-panorama-php/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (2)Versions (16)Used By (0)

Panorama PHP
============

[](#panorama-php)

[![Build Status](https://camo.githubusercontent.com/c673121611f661483a6934c24bbad51f97fd5fa0be0c22549dba92b37c6dffb0/68747470733a2f2f7472617669732d63692e6f72672f6672616e6469656775657a2f70616e6f72616d612d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/frandieguez/panorama-php)

What is this!
-------------

[](#what--is-this)

With this wrapper class you can manage any video service in a uniformed and unique way. You only need the URL from the video service you are going to use.

A quick example:

To include [this video](http://www.youtube.com/watch?v=HziGOzKOb9w&feature=player_embedded) in [a post](http://www.retrincos.info/video/2011/04/27/2011042717512600207.html) you only need to know the url of the video. With Panorama-PHP API you get this information:

```
    $video = new \Panorama\Video("http://www.youtube.com/watch?v=GPQnbtldFyo")
    $video.getTitle() => "paradon del portero"
    $video.getThumbnail() => "http://i4.ytimg.com/vi/GPQnbtldFyo/default.jpg"
    $video.getEmbedUrl() => "http://www.youtube.com/v/GPQnbtldFyo"
    $video.getEmbedHTML()(width, height) => "
