{"id":16363159,"url":"https://github.com/e0ipso/mpx-php","last_synced_at":"2025-08-03T14:13:10.248Z","repository":{"id":34082013,"uuid":"37899850","full_name":"e0ipso/mpx-php","owner":"e0ipso","description":"HTTP client library to interact with the thePlatform MPX video service.","archived":false,"fork":false,"pushed_at":"2015-06-24T19:37:48.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-29T20:51:07.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jverdi/JVFloatLabeledTextField","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/e0ipso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-23T05:50:13.000Z","updated_at":"2015-06-24T16:24:59.000Z","dependencies_parsed_at":"2022-07-18T01:10:48.996Z","dependency_job_id":null,"html_url":"https://github.com/e0ipso/mpx-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/e0ipso/mpx-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e0ipso%2Fmpx-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e0ipso%2Fmpx-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e0ipso%2Fmpx-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e0ipso%2Fmpx-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e0ipso","download_url":"https://codeload.github.com/e0ipso/mpx-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e0ipso%2Fmpx-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268554913,"owners_count":24269064,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-11T02:26:40.974Z","updated_at":"2025-08-03T14:13:10.200Z","avatar_url":"https://github.com/e0ipso.png","language":"PHP","readme":"# MPX PHP\nGuzzle client that interacts with the MPX thePlatform video service.\n\n## Usage example\n```php\n\u003c?php\n\nuse Mpx\\Services\\FeedMedia\\Client as FeedMediaClient;\nuse Pimple\\Container;\nuse Mpx\\Client as MpxClient;\nuse GuzzleHttp\\Client;\nuse GuzzleHttp\\Query;\nuse Mpx\\Services\\FeedMedia\\Config;\n\nrequire_once 'vendor/autoload.php';\n\n// Prepare container.\n$container = new Container();\n\n$container['base_url'] = 'http://feed.theplatform.com/f/';\n$container['guzzle_client'] = function ($c) {\n  return new Client(array(\n    'base_url' =\u003e $c['base_url'])\n  );\n};\n$container['client'] = function ($c) {\n  return new MpxClient($c['guzzle_client']);\n};\n\n$container['feed_config'] = function ($c) {\n  $config = array(\n    'client' =\u003e $c['client'],\n    'account_pid' =\u003e '5NKIOC',\n    'feed_pid' =\u003e 'F_jM8p%s39dL',\n    'guids' =\u003e array('2822493')\n  );\n  return Config::createFromConfig($config);\n};\n\n// Create client.\n$client = FeedMediaClient::create($container);\n\n// Add additional query string parameters.\n$query = new Query();\n$query-\u003eadd('form', MpxClient::FORMAT_CJSON);\n$query-\u003eadd('fields', 'id,guid');\n\nvar_dump($client-\u003efetch(array('query' =\u003e $query)));\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe0ipso%2Fmpx-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe0ipso%2Fmpx-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe0ipso%2Fmpx-php/lists"}