PHPackages                             dangtrungkien/ytb - 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. dangtrungkien/ytb

ActiveLibrary

dangtrungkien/ytb
=================

Upload a video to YouTube with Laravel 5.

213PHP

Since Nov 10Pushed 8y agoCompare

[ Source](https://github.com/DangKien/ytb)[ Packagist](https://packagist.org/packages/dangtrungkien/ytb)[ RSS](/packages/dangtrungkien-ytb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

composer require dangtrungkien/ytb:dev-master thêm vào app 'providers' =&gt; \[ ... DangKien\\Youtube\\YoutubeServiceProvider::class, \],

'aliases' =&gt; \[ ... 'Youtube' =&gt; DangKien\\Youtube\\Facades\\Youtube::class, \],

chạy php artisan vendor:publish --provider="DangKien\\Youtube\\YoutubeServiceProvider"

redirect URI GG [http://dường](http://d%C6%B0%C6%A1%CC%80ng) dẫn app/youtube/callback

$video = Youtube::upload($dường dẫn, \[ 'title' =&gt; 'Tiêu đề video', 'description' =&gt; 'mô tả', 'tags' =&gt; \['tag1', 'tag2', 'tag3'\], 'category\_id' =&gt; 10 (id loại video) \]);

return $video-&gt;getVideoId();

tạo thumbnail

$fullpathToImage = storage\_path('app/public/thumbnail.jpg');

$video = Youtube::upload($dường dẫn, $params)-&gt;withThumbnail($dường dẫn đến ảnh);

return $youtube-&gt;getThumbnailUrl();

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/00d9e969067d40f8606d7745b5a04f0116dac98634b17111cdbff31a7d7e19c6?d=identicon)[DangKien](/maintainers/DangKien)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dangtrungkien-ytb/health.svg)

```
[![Health](https://phpackages.com/badges/dangtrungkien-ytb/health.svg)](https://phpackages.com/packages/dangtrungkien-ytb)
```

PHPackages © 2026

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