{"id":16458393,"url":"https://github.com/sseffa/laravel-video-api","last_synced_at":"2025-03-16T18:31:22.842Z","repository":{"id":19095045,"uuid":"22323109","full_name":"sseffa/laravel-video-api","owner":"sseffa","description":"Laravel (Youtube/Vimeo) Video Data API","archived":false,"fork":false,"pushed_at":"2017-03-20T19:33:46.000Z","size":37,"stargazers_count":54,"open_issues_count":1,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-21T19:03:11.486Z","etag":null,"topics":["laravel","laravel-5-package","php","video-api","vimeo","youtube"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/sseffa/video-api","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/sseffa.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":"2014-07-27T21:44:54.000Z","updated_at":"2024-07-03T06:50:09.000Z","dependencies_parsed_at":"2022-08-05T02:30:14.162Z","dependency_job_id":null,"html_url":"https://github.com/sseffa/laravel-video-api","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sseffa%2Flaravel-video-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sseffa%2Flaravel-video-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sseffa%2Flaravel-video-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sseffa%2Flaravel-video-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sseffa","download_url":"https://codeload.github.com/sseffa/laravel-video-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354220,"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":["laravel","laravel-5-package","php","video-api","vimeo","youtube"],"created_at":"2024-10-11T10:45:08.199Z","updated_at":"2025-03-16T18:31:22.044Z","avatar_url":"https://github.com/sseffa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Laravel Video API\n=================\n\n[![Latest Stable Version](https://poser.pugx.org/sseffa/video-api/v/stable.png)](https://packagist.org/packages/sseffa/video-api)\n[![Total Downloads](https://poser.pugx.org/sseffa/video-api/downloads.png)](https://packagist.org/packages/sseffa/video-api)\n[![Build Status](https://travis-ci.org/sseffa/laravel-video-api.svg)](https://travis-ci.org/sseffa/laravel-video-api)\n\n## Installation\n\n### 1. Install with Composer\n\n```bash\ncomposer require \"sseffa/video-api\": \"dev-master\"\n```\n\n Laravel  | video-api\n:---------|:----------\n 4.x.x    | 1.x\n 5.x.x    | 2.x\n\n\n### 2. Add to `app/config/app.php`\n\n```php\n    'providers' =\u003e array(\n        // ...\n        'Sseffa\\VideoApi\\VideoApiServiceProvider',\n    ),\n```\n\nAnd:\n\n```php\n    'aliases' =\u003e array(\n        // ...\n        'VideoApi'          =\u003e 'Sseffa\\VideoApi\\Facades\\VideoApi',\n    ),\n```\n\n## Usage\n\n[Youtube API Key](https://console.developers.google.com)\n\n\n```php\n\u003c?php\n\nRoute::get('video/youtube/{id}', function ($id) {\n\n    //$data = VideoApi::setType('youtube')-\u003esetKey('api-key')-\u003egetVideoDetail($id); // video detail\n    $data = VideoApi::setType('youtube')-\u003esetKey('api-key')-\u003egetVideoList($id);     // video list\n\n    var_dump($data);\n});\n\nRoute::get('video/vimeo/{id}', function ($id) {\n\n    //$data = VideoApi::setType('vimeo')-\u003egetVideoDetail($id);\n    $data = VideoApi::setType('vimeo')-\u003egetVideoList($id);\n\n    var_dump($data);\n});\n\n```\n\n## Licence\n\n[MIT license](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsseffa%2Flaravel-video-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsseffa%2Flaravel-video-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsseffa%2Flaravel-video-api/lists"}