{"id":18320247,"url":"https://github.com/gedex/php-janrain-api","last_synced_at":"2025-09-11T23:35:04.367Z","repository":{"id":13374172,"uuid":"16061974","full_name":"gedex/php-janrain-api","owner":"gedex","description":"A simple Object Oriented wrapper for Janrain API, written with PHP5.","archived":false,"fork":false,"pushed_at":"2016-12-12T19:17:35.000Z","size":53,"stargazers_count":3,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T13:12:40.720Z","etag":null,"topics":["api-client","janrain","php","php-janrain-api"],"latest_commit_sha":null,"homepage":null,"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/gedex.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-01-20T05:32:24.000Z","updated_at":"2017-11-08T14:12:22.000Z","dependencies_parsed_at":"2022-08-22T23:50:41.840Z","dependency_job_id":null,"html_url":"https://github.com/gedex/php-janrain-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fphp-janrain-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fphp-janrain-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fphp-janrain-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fphp-janrain-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gedex","download_url":"https://codeload.github.com/gedex/php-janrain-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411237,"owners_count":20934650,"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":["api-client","janrain","php","php-janrain-api"],"created_at":"2024-11-05T18:15:39.613Z","updated_at":"2025-04-05T22:31:48.294Z","avatar_url":"https://github.com/gedex.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PHP Janrain API\n===============\n\n[![Build Status](https://travis-ci.org/gedex/php-janrain-api.png?branch=master)](https://travis-ci.org/gedex/php-janrain-api)\n[![Coverage Status](https://coveralls.io/repos/gedex/php-janrain-api/badge.png?branch=master)](https://coveralls.io/r/gedex/php-janrain-api?branch=master)\n\nA simple Object Oriented wrapper for [Janrain API](http://developers.janrain.com/documentation/api/), written with PHP5.\n\n# Usage\n\n## Find Entity\n\n~~~php\nrequire_once 'vendor/autoload.php';\n\n$client = new Janrain\\Client();\n$client-\u003esetOption('base_url',      'https://example.janraincapture.com');\n$client-\u003esetOption('client_id',     'xxx');\n$client-\u003esetOption('client_secret', 'xxx');\n\n$entities = $client-\u003eapi('entity')-\u003efind(array(\n\t'type_name'  =\u003e 'user',\n\t'filter'     =\u003e 'emailVerified is not null',\n\t'attributes' =\u003e array('uuid', 'displayName', 'email'),\n));\n~~~\n\n## Add Entity\n~~~php\n$result = $client-\u003eapi('entity')-\u003ecreate(array(\n\t'type_name'  =\u003e 'user',\n\t'attributes' =\u003e array(\n\t\t'firstName' =\u003e 'Akeda',\n\t\t'lastName'  =\u003e 'Bagus',\n\t),\n));\n~~~\n\nSee [examples](examples/README.md) for complete references.\n\n# TODO\n\n* Complete unit tests coverage\n* More examples\n\n# Credits\n\n* [Janrain API documentation](http://developers.janrain.com/documentation/api/)\n* Nicely architectured library [php-github-api](https://github.com/KnpLabs/php-github-api) by [KNPLabs](https://github.com/KnpLabs) where this library borrows the design.\n\n# License\n\nMIT License - see [LICENSE file](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fphp-janrain-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgedex%2Fphp-janrain-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fphp-janrain-api/lists"}