PHPackages                             spobble/apiato-youtube-api - 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. [API Development](/categories/api)
4. /
5. spobble/apiato-youtube-api

ActiveApiato-container[API Development](/categories/api)

spobble/apiato-youtube-api
==========================

Apiato container for mapping Youtube Data Api

1.0.0(5y ago)113MITPHP

Since Oct 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/spobble/apiato-youtube-api)[ Packagist](https://packagist.org/packages/spobble/apiato-youtube-api)[ RSS](/packages/spobble-apiato-youtube-api/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Apiato Youtube Api
==================

[](#apiato-youtube-api)

Apiato container for managing **Youtube Data Api**. This container has been developed for internal usage and covers only 1 scopes: upload-video on Youtube.

**Attention:** All others scope must be implemented, so feel free to submit a pull request :)

**EXTRA-ATTENTION**: When you're creating credential.json file from google-console, you **need** to setup redirect\_uri to =&gt; "". In this way, you will fire Container callback that manage all upload

Setup
-----

[](#setup)

### Installation

[](#installation)

For installing this container, simply run

```
composer require spobble/apiato-youtube-api

```

### Configuring env file

[](#configuring-env-file)

You need to configurate .env files with data from credential json file

```
YOUTUBE_PROJECT_ID = project-id
YOUTUBE_CLIENT_ID = client-id
YOUTUBE_CLIENT_SECRET = client-secret
REDIRECT_URI = redirect-uri
```

Perfect! Container is ready to be used!

### Usage

[](#usage)

Usage is quite simple! To keep video, you can simply add it to a session (save to storage and session the path), named "video-data". In this way, container will get video and data from session and upload it to youtube.

Usage is divided in two parts: generating authentication form &amp; getting accessToken.

Before starting container, save video in session like:

```
Session::put('video-data', collect($videoData));

$link = \Apiato\Core\Foundation\Facades\Apiato::call('YoutubeApi@GenerateOAuthLoginAction');

return redirect($link);
```

Above code will session video's data (title, path/to/file) and request a link to OAuth2 Login.

Done this you've finished. Callback will start and upload video to your account.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~1 days

Total

2

Last Release

2033d ago

Major Versions

0.0.1 → 1.0.02020-10-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ca8ae45c81288c22836f584e70c2e3dd2ac2ef2a22bea404d5eb91b4f669649?d=identicon)[andreacivita](/maintainers/andreacivita)

---

Top Contributors

[![andreacivita](https://avatars.githubusercontent.com/u/4959092?v=4)](https://github.com/andreacivita "andreacivita (7 commits)")

---

Tags

apiatoYoutube ApiApiato Youtube ApiYoutube Upload VideoApiato Youtube Upload Video

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/spobble-apiato-youtube-api/health.svg)

```
[![Health](https://phpackages.com/badges/spobble-apiato-youtube-api/health.svg)](https://phpackages.com/packages/spobble-apiato-youtube-api)
```

###  Alternatives

[revolution/laravel-google-sheets

Google Sheets API v4

4483.1M6](/packages/revolution-laravel-google-sheets)[pulkitjalan/google-apiclient

Google api php client wrapper with Cloud Platform and Laravel support

2582.9M5](/packages/pulkitjalan-google-apiclient)[dacastro4/laravel-gmail

Gmail API package for Laravel

312382.9k1](/packages/dacastro4-laravel-gmail)[apiato/core

Core package for Apiato.

70335.0k5](/packages/apiato-core)[spotonlive/php-google-my-business

Google MyBusiness

31677.1k](/packages/spotonlive-php-google-my-business)[sahusoftcom/youtube-livestream-api

PHP (Laravel) Package for Google / YouTube API of Video Live Streaming with Google Auth

451.1k](/packages/sahusoftcom-youtube-livestream-api)

PHPackages © 2026

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