PHPackages                             efremovp/yii2-youtube-helper - 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. [Image &amp; Media](/categories/media)
4. /
5. efremovp/yii2-youtube-helper

ActiveLibrary[Image &amp; Media](/categories/media)

efremovp/yii2-youtube-helper
============================

Скачиваем видео с канала YouTube с помощью API. Для дальнейшего сохранения ссылок на видео в своей БД. И вывода их на сайт.

v1.0.4(1y ago)1151MITPHPPHP &gt;=5.4.0

Since Sep 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/efremovP/youtube-helper)[ Packagist](https://packagist.org/packages/efremovp/yii2-youtube-helper)[ Docs](https://github.com/efremovP/youtube-helper)[ RSS](/packages/efremovp-yii2-youtube-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Скачивание видео с каналов YouTube на свой сайт
===============================================

[](#скачивание-видео-с-каналов-youtube-на-свой-сайт)

Скачиваем все видео с плейлиста YouTube с помощью API. Для дальнейшего сохранения ссылок на видео в своей БД. И вывода их на сайт.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require efremovp/yii2-youtube-helper "*"

```

or add

```
"efremovp/yii2-youtube-helper": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
use efremovP\youtube\ApiYouTube;

$youtube = new ApiYouTube('Youtube_Api_Key');

$id_youtube_playlist = 'PLdmSK1Qzu984Jnm_YhDcD_Hs5WEB39HoR';
// скачать список видео плейлиста
$video_list = $youtube->getList($id_youtube_playlist);

$key_video = '7JHQ83gho6E';

// получаем массив всех данных на видео
$image_url = $youtube->getImage($key_video);

// получаем иконку на видео
$image_url = $youtube->getImage($key_video);

//дату публикации на видео в формате YYYY-MM-DD HH:MM:SS
$image_url = $youtube->getPublishDate($key_video);
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~374 days

Total

5

Last Release

574d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3abe790ae29288a9ced1ade9fd9b3848a05231c8ebeb1eb584344a488788d5c0?d=identicon)[pyt\_on](/maintainers/pyt_on)

---

Top Contributors

[![efremovP](https://avatars.githubusercontent.com/u/11133012?v=4)](https://github.com/efremovP "efremovP (9 commits)")

---

Tags

laravellibraryvideoyoutubeyii2extension

### Embed Badge

![Health badge](/badges/efremovp-yii2-youtube-helper/health.svg)

```
[![Health](https://phpackages.com/badges/efremovp-yii2-youtube-helper/health.svg)](https://phpackages.com/packages/efremovp-yii2-youtube-helper)
```

###  Alternatives

[chojnicki/video-platforms-parser

Easy to use SDK with grabber for multiple platforms at once like YouTube, Dailymotion, Facebook and more.

22226.4k](/packages/chojnicki-video-platforms-parser)[trntv/yii2-glide

Yii2 Glide Extension

41269.5k9](/packages/trntv-yii2-glide)[raoul2000/yii2-jcrop-widget

This extension is a wrapper for the jQuery Image Cropping Plugin (jcrop)

10248.3k2](/packages/raoul2000-yii2-jcrop-widget)[yii2mod/yii2-image

Provides methods for the dynamic manipulation of images. Various image formats such as JPEG, PNG, and GIF can be resized, cropped, rotated.

2710.4k](/packages/yii2mod-yii2-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
