{"id":36986240,"url":"https://github.com/phramework/jsonapi-client","last_synced_at":"2026-01-13T23:04:10.641Z","repository":{"id":37549202,"uuid":"55001827","full_name":"phramework/jsonapi-client","owner":"phramework","description":"JSONAPI client, helps creating SDK to consume your JSON API services","archived":false,"fork":false,"pushed_at":"2023-04-19T19:33:10.000Z","size":253,"stargazers_count":2,"open_issues_count":11,"forks_count":3,"subscribers_count":4,"default_branch":"2.x","last_synced_at":"2025-08-30T22:37:47.173Z","etag":null,"topics":["jsonapi"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phramework.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-29T18:49:34.000Z","updated_at":"2022-05-10T12:46:37.000Z","dependencies_parsed_at":"2022-08-26T15:22:48.405Z","dependency_job_id":null,"html_url":"https://github.com/phramework/jsonapi-client","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/phramework/jsonapi-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fjsonapi-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fjsonapi-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fjsonapi-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fjsonapi-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phramework","download_url":"https://codeload.github.com/phramework/jsonapi-client/tar.gz/refs/heads/2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phramework%2Fjsonapi-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"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":["jsonapi"],"created_at":"2026-01-13T23:04:10.551Z","updated_at":"2026-01-13T23:04:10.611Z","avatar_url":"https://github.com/phramework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsonapi-client\nJSONAPI client, helps creating SDK to consume your JSON RESTful APIs\n\n[![Build Status](https://travis-ci.org/phramework/jsonapi-client.svg?branch=2.x)](https://travis-ci.org/phramework/jsonapi-client)\n\n[![Coverage Status](https://coveralls.io/repos/github/phramework/jsonapi-client/badge.svg?branch=2.x)](https://coveralls.io/github/phramework/jsonapi-client?branch=2.x)\n\n## Usage\nRequire package using composer\n```bash\ncomposer require phramework/jsonapi-client\n```\n\n### GET a collection\n\n```php\n\u003c?php\n/**\n * Define an API endpoint\n */\n$endpoint = (new Endpoint('article'))\n    -\u003esetUrl('http://localhost:8005/article/');\n\n/**\n * Get a collection of all `article`s, including their author\n */\n$response = $endpoint-\u003eget(\n    new IncludeRelationship('author')\n);\n\n/*\n * Display article collection\n */\nprint_r($articles = $response-\u003egetData());\n```\n\n## License\nCopyright 2016-2019 Xenofon Spafaridis\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n```\nhttp://www.apache.org/licenses/LICENSE-2.0\n```\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphramework%2Fjsonapi-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphramework%2Fjsonapi-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphramework%2Fjsonapi-client/lists"}