{"id":48474573,"url":"https://github.com/jopacicdev/vidinfo","last_synced_at":"2026-04-07T07:49:56.530Z","repository":{"id":57001806,"uuid":"53894561","full_name":"jopacicdev/vidinfo","owner":"jopacicdev","description":"Fetch video info via oembed urls for YT/Vimeo","archived":false,"fork":false,"pushed_at":"2018-01-30T09:31:42.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-18T18:16:02.494Z","etag":null,"topics":["oembed","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jopacicdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-14T21:52:51.000Z","updated_at":"2018-01-11T09:41:54.000Z","dependencies_parsed_at":"2022-08-21T11:40:40.989Z","dependency_job_id":null,"html_url":"https://github.com/jopacicdev/vidinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jopacicdev/vidinfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopacicdev%2Fvidinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopacicdev%2Fvidinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopacicdev%2Fvidinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopacicdev%2Fvidinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jopacicdev","download_url":"https://codeload.github.com/jopacicdev/vidinfo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopacicdev%2Fvidinfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["oembed","php"],"created_at":"2026-04-07T07:49:56.446Z","updated_at":"2026-04-07T07:49:56.517Z","avatar_url":"https://github.com/jopacicdev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VidInfo - Oembed Video Info\n[![Build Status](https://travis-ci.org/jopacicdev/vidinfo.svg?branch=master)](https://travis-ci.org/jopacicdev/vidinfo)\n\nVidinfo package takes `$url` parameter and returns video info via oembed urls from the following service providers:\n\n  - YouTube\n  - Vimeo\n\n\n\n# Install via Composer\n```sh\n$ composer require josip/vidinfo\n```\n\n\n\n### Usage\n\nUse it in static fashion:\n\n```php\n\\Josip\\Vidinfo\\Vidinfo::getVideoInfo($url)\n```\nin order to return array or JSON string, add in the optional second argument:\n\n```php\n\\Josip\\Vidinfo\\Vidinfo::getVideoInfo($url, $returnType)\n```\n\nThe `$returnType` var can be: `object`, `array`, `json`. Falls back to `array`.\n\n\nLicense\n----\n\nFree as in *free* beer.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjopacicdev%2Fvidinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjopacicdev%2Fvidinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjopacicdev%2Fvidinfo/lists"}