{"id":22615703,"url":"https://github.com/respoke/respoke-php","last_synced_at":"2025-06-30T11:34:24.579Z","repository":{"id":32051556,"uuid":"35623197","full_name":"respoke/respoke-php","owner":"respoke","description":"PHP serverside library for the Respoke REST API","archived":false,"fork":false,"pushed_at":"2015-11-19T17:53:16.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-02-03T10:46:24.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/respoke.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":"2015-05-14T16:42:31.000Z","updated_at":"2015-09-24T01:27:57.000Z","dependencies_parsed_at":"2022-09-01T23:31:46.380Z","dependency_job_id":null,"html_url":"https://github.com/respoke/respoke-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respoke%2Frespoke-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respoke%2Frespoke-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respoke%2Frespoke-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respoke%2Frespoke-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/respoke","download_url":"https://codeload.github.com/respoke/respoke-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122247,"owners_count":20726822,"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":[],"created_at":"2024-12-08T19:09:07.393Z","updated_at":"2025-03-29T00:42:53.616Z","avatar_url":"https://github.com/respoke.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Respoke PHP Library [![Build Status](https://travis-ci.org/respoke/respoke-php.svg?branch=master)](https://travis-ci.org/respoke/respoke-php)\n\n\nRespoke PHP is the officially supported PHP library for [Respoke](https://respoke.io).\n\nWith Respoke, you can add live voice, video, text and data features to your\nwebsite or mobile app. Check out our\n[Guides](https://docs.respoke.io/server/php/getting-started.html) to get started\nusing Respoke and Respoke PHP now.\n\nPlease validate you have PHP 5.4.\\* or greater installed.\n\n## Installation\n\nInstall [Respoke's PHP Library](https://packagist.org/packages/respoke/respoke)\nto your project using [Composer](https://getcomposer.org/).\n\n    composer require respoke/respoke\n\n## Running the library\n\nInstall the library's dependencies.\n\n    composer install\n\nAfter installing, you need to require Composer's autoloader:\n\n    require 'vendor/autoload.php';\n\nThen use the library. Request access to Respoke at the\n[Respoke website](https://portal.respoke.io/#/signup).\n\n    use Respoke\\Client;\n\n    $client = new Respoke\\Client([\n        \"appId\" =\u003e \"APP_ID\",\n        \"appSecret\" =\u003e \"APP_SECRET\",\n        \"roleId\" =\u003e \"ROLE_ID\",\n        \"endpointId\" =\u003e \"USER_NAME\"\n    ]);\n\n    $tokenId = $client-\u003egetTokenId();\n\nReturn this `$tokenId` to your front-end and pass it to the `token` property\nwhen connecting to Respoke.\n\n    json_encode([\"token\" =\u003e $tokenId]);\n\n## Running the tests\n\nThe test suite uses PHPUnit for test coverage.\n\n    phpunit --configuration phpunit.xml.dist\n\n## Contributing\n\nIf you wish to submit an issue use the [issue tracker].\n\n[issue tracker]: https://github.com/respoke/respoke-php/issues\n\n1. Fork it ( https://github.com/[my-github-username]/respoke-php/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -a -m 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Cutting a new release\n\n[PHPRelease](https://github.com/c9s/PHPRelease) is used to release a new version\nof this package. Details of the use of PHPRelease can be found on the project's\nreadme.\n\nThis project follows [semantic versioning](http://semver.org/). The tl;dr of\nsemver is:\n\n* new **major** version when there are breaking changes to the public api of the\n  library.\n* new **minor** version when there are backward-compatible changes to the api,\n  such as new features.\n* new **patch** version when there are backward-compatible bug fixes, or other\n  changes that do not affect the public API.\n\n## License\n\nThis source code is licensed under The MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frespoke%2Frespoke-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frespoke%2Frespoke-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frespoke%2Frespoke-php/lists"}