PHPackages                             madcodez/youtube - 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. madcodez/youtube

ActiveLibrary[API Development](/categories/api)

madcodez/youtube
================

PHP wrapper for the Youtube Data API v3 &amp; YouTube Downloader

0.1.4(7y ago)102286MITPHPPHP &gt;=5.3

Since Jul 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/madcode-git/youtube)[ Packagist](https://packagist.org/packages/madcodez/youtube)[ RSS](/packages/madcodez-youtube/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

YouTube API v3 PHP Wrapper &amp; YouTube Downloader
===================================================

[](#youtube-api-v3-php-wrapper--youtube-downloader)

A basic PHP wrapper for the Youtube Data API v3 ( Non-OAuth ). Designed to let devs easily fetch public data (Video &amp; Channel) from Youtube. No 3rd party dependancy. The reason of returning the ARRAY response directly is to keep it simple.

Some parameters are missing in this library, because I don't need them at this point, if you desire a particular feature please file an issue here 😄

Requirements
------------

[](#requirements)

- PHP &gt;=5.3
- CURL extension in PHP

Install
-------

[](#install)

Run the following command in your command line shell in your php project

```
composer require madcodez/youtube

```

Usage
-----

[](#usage)

### Example usage of getting "Top of the chart" videos :

[](#example-usage-of-getting-top-of-the-chart-videos-)

```
