{"id":41591436,"url":"https://github.com/messagebird/php-rest-api","last_synced_at":"2026-01-24T09:31:37.738Z","repository":{"id":18212933,"uuid":"21349396","full_name":"messagebird/php-rest-api","owner":"messagebird","description":"This repository contains the open source PHP client for MessageBird's REST API.","archived":false,"fork":false,"pushed_at":"2025-07-18T14:35:31.000Z","size":969,"stargazers_count":158,"open_issues_count":4,"forks_count":94,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-07-18T19:02:02.020Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developers.messagebird.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/messagebird.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-06-30T11:53:04.000Z","updated_at":"2025-07-18T14:30:32.000Z","dependencies_parsed_at":"2025-07-18T16:22:31.255Z","dependency_job_id":"4a2abe77-b104-465f-9f5e-aa3f9286e501","html_url":"https://github.com/messagebird/php-rest-api","commit_stats":{"total_commits":351,"total_committers":51,"mean_commits":6.882352941176471,"dds":0.9002849002849003,"last_synced_commit":"b3f192471c31a84a05081d5ba750a958db6cfc38"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/messagebird/php-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagebird%2Fphp-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagebird%2Fphp-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagebird%2Fphp-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagebird%2Fphp-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/messagebird","download_url":"https://codeload.github.com/messagebird/php-rest-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagebird%2Fphp-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28723233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-24T09:31:37.678Z","updated_at":"2026-01-24T09:31:37.728Z","avatar_url":"https://github.com/messagebird.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"MessageBird's REST API for PHP\n===============================\nThis repository contains the open source PHP client for MessageBird's REST API. Documentation can be found at: https://developers.messagebird.com/\n\n[![Build Status](https://github.com/messagebird/php-rest-api/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/messagebird/php-rest-api/actions/workflows/tests.yml?query=branch%3Amaster)\n[![Latest Stable Version](https://poser.pugx.org/messagebird/php-rest-api/v/stable.svg)](https://packagist.org/packages/messagebird/php-rest-api)\n[![License](https://poser.pugx.org/messagebird/php-rest-api/license.svg)](https://packagist.org/packages/messagebird/php-rest-api)\n\nRequirements\n-----\n\n- [Sign up](https://www.messagebird.com/en/signup) for a free MessageBird account\n- Create a new access_key in the developers sections\n- MessageBird API client for PHP requires PHP \u003e= 7.3.\n\nInstallation\n-----\n\n#### Composer installation\n\n- [Download composer](https://getcomposer.org/doc/00-intro.md#installation-nix)\n- Run `composer require messagebird/php-rest-api`.\n\n#### Manual installation\n\nWhen you do not use Composer. You can git checkout or download [this repository](https://github.com/messagebird/php-rest-api/archive/master.zip) and include the MessageBird API client manually.\n\n\nUsage\n-----\n\nWe have put some self-explanatory examples in the *examples* directory, but here is a quick breakdown on how it works. First, you need to set up a **MessageBird\\Client**. Be sure to replace **YOUR_ACCESS_KEY** with something real.\n\n```php\nrequire 'autoload.php';\n\n$messageBird = new \\MessageBird\\Client('YOUR_ACCESS_KEY');\n\n```\n\nThat's easy enough. Now we can query the server for information. Lets use getting your balance overview as an example:\n\n```php\n// Get your balance\n$balance = $messageBird-\u003ebalance-\u003eread();\n```\n\n\nConversations WhatsApp Sandbox\n-------------\n\nTo use the WhatsApp sandbox you need to add `\\MessageBird\\Client::ENABLE_CONVERSATIONSAPI_WHATSAPP_SANDBOX` to the list of features you want enabled. Don't forget to replace `YOUR_ACCESS_KEY` with your actual access key.\n\n```php\n$messageBird = new \\MessageBird\\Client('YOUR_ACCESS_KEY', null, [\\MessageBird\\Client::ENABLE_CONVERSATIONSAPI_WHATSAPP_SANDBOX]);\n```\n\nIf you use a custom `HttpClient` you will have to manually direct Conversation API request to the WhatsApp sandbox endpoint.\n\n\nDocumentation\n----\nComplete documentation, instructions, and examples are available at:\n[https://developers.messagebird.com/](https://developers.messagebird.com/)\n\n\nLicense\n----\nThe MessageBird REST Client for PHP is licensed under [The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause). Copyright (c) 2014, MessageBird\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessagebird%2Fphp-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmessagebird%2Fphp-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessagebird%2Fphp-rest-api/lists"}