{"id":15515885,"url":"https://github.com/madcoda/php-youtube-api","last_synced_at":"2025-05-15T11:08:16.542Z","repository":{"id":10353492,"uuid":"12491419","full_name":"madcoda/php-youtube-api","owner":"madcoda","description":"PHP wrapper for the Youtube Data API v3 ( Non-OAuth )","archived":false,"fork":false,"pushed_at":"2022-10-18T14:45:08.000Z","size":292,"stargazers_count":432,"open_issues_count":27,"forks_count":158,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-04-14T19:58:55.530Z","etag":null,"topics":["php","php-youtube-api","youtube"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madcoda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-30T17:07:38.000Z","updated_at":"2025-04-07T11:06:35.000Z","dependencies_parsed_at":"2022-08-30T04:41:01.368Z","dependency_job_id":null,"html_url":"https://github.com/madcoda/php-youtube-api","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcoda%2Fphp-youtube-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcoda%2Fphp-youtube-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcoda%2Fphp-youtube-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madcoda%2Fphp-youtube-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madcoda","download_url":"https://codeload.github.com/madcoda/php-youtube-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328384,"owners_count":22052632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","php-youtube-api","youtube"],"created_at":"2024-10-02T10:04:44.398Z","updated_at":"2025-05-15T11:08:16.521Z","avatar_url":"https://github.com/madcoda.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"php-youtube-api\n===============\n[![Build Status](https://secure.travis-ci.org/madcoda/php-youtube-api.png)](https://travis-ci.org/madcoda/php-youtube-api)\n\nA basic PHP wrapper for the Youtube Data API v3 ( Non-OAuth ). Designed to let devs easily \nfetch public data (Video, Channel, Playlists info) from Youtube. No 3rd party dependancy (except PHPUnit).\nThe reason for returning the decoded JSON response directly, is that you only need to read the Google API doc \nto use this library, instead of learning my set of API again (Keep it simple).\n\nWell.. actually 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](https://github.com/madcoda/php-youtube-api/issues) :)\n\nCurrently I will not consider adding OAuth endpoints. (those required \"authorized request\" will not be supported)\n\n## Requirements\n* PHP \u003e=5.3\n* CURL extension in PHP\n\n## Install\nRun the following command in your command line shell for your php project\n```sh\n$ composer require madcoda/php-youtube-api:^1.2\n```\nDone.\n\nYou may also edit composer.json manually then perform ```composer update```\n```\n\"require\": {\n    \"madcoda/php-youtube-api\": \"^1.2\"\n}\n```\n\n## Getting started\nPlease read the wiki on how to use this library with [PHP with composer](https://github.com/madcoda/php-youtube-api/wiki/started-with-php-composer), [Laravel 4](https://github.com/madcoda/php-youtube-api/wiki/started-with-laravel-4) and [Laravel 5](https://github.com/madcoda/php-youtube-api/wiki/started-with-laravel-5).\n\nFor the functions implemented in this library, please visit [API Reference](https://github.com/madcoda/php-youtube-api/wiki/api-reference)\n\n### Example usage with pure PHP (with composer)\n```php\nrequire 'vendor/autoload.php';\n$youtube = new Madcoda\\Youtube\\Youtube(array('key' =\u003e '* Your API key here *'));\n$video = $youtube-\u003egetVideoInfo('rie-hPVJ7Sw');\n```\n\n### Example usage with Laravel 4/5\n```php\n$video = Youtube::getVideoInfo(Input::get('vid', 'dQw4w9WgXcQ');\n```\n\n\n## Format of returned data\nThe returned json is decoded as PHP objects (not Array).\nPlease read the [\"Reference\" section](https://developers.google.com/youtube/v3/docs/) of the official API doc.\n\n\n## YouTube Data API v3\n- [YouTube Data API v3 Doc](https://developers.google.com/youtube/v3/)\n- [Obtain API key from Google API Console](http://code.google.com/apis/console)\n\n## Contact\n\nFor bugs, complaints, or suggestions, please [file an Issue here](https://github.com/madcoda/php-youtube-api/issues) \nor send email to jason@madcoda.com :)\n\n\n## License\n\nThis repo `madcoda/php-youtube-api` is licensed under the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadcoda%2Fphp-youtube-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadcoda%2Fphp-youtube-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadcoda%2Fphp-youtube-api/lists"}