Get the thumbnail of youtube and vimeo videos from the url. The returned information is ID and URL of the thumbnail

Overview

Video Thumbnail URL

Get the thumbnail of youtube and vimeo videos from the url. The returned information is ID and URL of the thumbnail

Installation

Install the latest version with

$ composer require fernandovaller/video-thumbnail-url

Basic Usage

<?php

use FVCode\Thumbnail\Thumbnail;

require __DIR__ . '/vendor/autoload.php';

$th = new Thumbnail();

// The returned information is ID and URL of the thumbnail
$data = $th->get($url);

Config

Vimeo videos can have origin restriction, in which case add the setting to simulate the origin in the request.

<?php

use FVCode\Thumbnail\Thumbnail;

require __DIR__ . '/vendor/autoload.php';

$config = [
    'origin' => 'https://www.google.com'
]

$th = new Thumbnail($config);

// The returned information is ID and URL of the thumbnail
$data = $th->get($url);
You might also like...
Laravel Setting - Easily save, update and get titles, descriptions, and more. it is very easy to use.

Laravel Setting Easily save, update and get titles, descriptions, and more. it is very easy to use. This is great for storing and receiving general si

Get estimated read time of an article. Similar to medium.com's "x min read". Multilingual including right-to-left written languages. Supports JSON, Array and String output.

Read Time Calculates the read time of an article. Output string e.g: x min read or 5 minutes read. Features Multilingual translations support. Static

Gallium is a TALL stack starter kit offering a robust set of options enabling you to get up and running in a snap.

Very short description of the package This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention o

An easy way to get vendor and package data from Packagist via API calls
An easy way to get vendor and package data from Packagist via API calls

Laravel Packagist Laravel Packagist (LaravelPackagist) is a package for Laravel 5 to interact with the packagist api quickly and easily. Table of cont

Collection of the Laravel/Eloquent Model classes that allows you to get data directly from a Magento 2 database.

Laragento LAravel MAgento Micro services Magento 2 has legacy code based on abandoned Zend Framework 1 with really ugly ORM on top of outdated Zend_DB

Get started using SELCOM APIs with Laravel framework

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

This is a solution implementation for the coderbyte question, CLEAN GET REQUEST RESULT.

This is a solution implementation for the coderbyte question, CLEAN GET REQUEST RESULT. Two solutions are proposed, the first is a brute force approach while the other is an improved time complexity solution.

Laravel && ( Swoole || Workerman ) to get 10x faster than php-fpm

Laravoole Laravel on Swoole Or Workerman 10x faster than php-fpm Depends On php =5.5.16 laravel/laravel ^ 5.1 Suggests php =7.0.0 ext-swoole =1.7.2

An abstraction layer to get data from array or a file with dot-notation

Alex Unruh - Config This library is based on the Laravel config concept. It values performance and was built on top of the library Dflydev Dot Access

Owner
Fernando Valler
Sou programador web, motivado por desafios e sempre buscando aprender algo novo. Aqui você pode encontrar alguns projetos.
Fernando Valler
Ten Theme From Youtube Videos

Webverse_ten This is the main branch of the Ten Theme from Youtube Videos, to view the progress of a specific video switch to the corresponding branch

Webverse 10 Dec 5, 2022
How to get cookies from users' browser and send the information to your email address and telegram bot

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

MAXWELL 3 Dec 3, 2022
Laravel package for manage your URL redirects in database or other sources to get better SEO results

Laravel 8 and 9 package to manage URL redirections inside your Laravel application using different data sources. It allows a better SEO support for your Laravel site.

Siro Díaz Palazón 51 Sep 21, 2022
Fullcycle Course - Microservice Admin Videos Laravel

Fullcycle Course - Microservice Admin Videos Laravel

Asafe Brasil Yanez Marques 1 Jul 8, 2022
Multipurpose Laravel and Livewire Application. This is a part of tutorial series on Youtube.

Multipurpose Laravel and Livewire Application This is a part of YouTube tutorial series on building application using Laravel and Livewire. Here is th

Clovon 88 Dec 23, 2022
ergodnc (Ergonomic Desk & Coffee) is an open source Laravel project that's being built live on the official Laravel YouTube Channel

About This Project ergodnc (Ergonomic Desk & Coffee) is an open source Laravel project that's being built live on the official Laravel YouTube Channel

Mohamed Said 248 Dec 26, 2022
A package to generate YouTube-like IDs for Eloquent models

Laravel Hashids This package provides a trait that will generate hashids when saving any Eloquent model. Hashids Hashids is a small package to generat

Λгi 25 Aug 31, 2022
Add Server-Timing header information from within your Laravel apps.

Laravel Server Timings Add Server-Timing header information from within your Laravel apps. Installation You can install the package via composer: comp

Beyond Code 498 Dec 15, 2022
Component for reading phar.io manifest information from a PHP Archive (PHAR)

Manifest Component for reading phar.io manifest information from a PHP Archive (PHAR). Installation You can add this library as a local, per-project d

null 7.1k Jan 9, 2023
A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.

A Laravel package to scrub sensitive information that breaks operational security policies from being leaked on accident or not by developers.

YorCreative 104 Jan 6, 2023