{"id":40372389,"url":"https://github.com/orgmanager/php-orgmanager-api","last_synced_at":"2026-01-20T11:30:43.355Z","repository":{"id":57032935,"uuid":"84040353","full_name":"orgmanager/php-orgmanager-api","owner":"orgmanager","description":"A PHP client for the OrgManager API","archived":false,"fork":false,"pushed_at":"2019-10-07T07:43:19.000Z","size":30,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T20:47:57.952Z","etag":null,"topics":["api","api-client","client","guzzle","orgmanager","orgmanager-api","packagist","php","php-client"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orgmanager.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-06T06:56:50.000Z","updated_at":"2021-01-30T15:47:19.000Z","dependencies_parsed_at":"2022-08-24T05:40:45.975Z","dependency_job_id":null,"html_url":"https://github.com/orgmanager/php-orgmanager-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/orgmanager/php-orgmanager-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgmanager%2Fphp-orgmanager-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgmanager%2Fphp-orgmanager-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgmanager%2Fphp-orgmanager-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgmanager%2Fphp-orgmanager-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orgmanager","download_url":"https://codeload.github.com/orgmanager/php-orgmanager-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orgmanager%2Fphp-orgmanager-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28602423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T10:46:13.255Z","status":"ssl_error","status_checked_at":"2026-01-20T10:42:51.865Z","response_time":117,"last_error":"SSL_read: 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":["api","api-client","client","guzzle","orgmanager","orgmanager-api","packagist","php","php-client"],"created_at":"2026-01-20T11:30:41.060Z","updated_at":"2026-01-20T11:30:43.342Z","avatar_url":"https://github.com/orgmanager.png","language":"PHP","readme":"# PHP OrgManager API Client\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/198c105f5e434fe2806b39a17d458dc3)](https://www.codacy.com/app/m1guelpiedrafita/php-orgmanager-api?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=orgmanager/php-orgmanager-api\u0026utm_campaign=badger)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/orgmanager/orgmanager-api.svg?style=flat-square)](https://packagist.org/packages/orgmanager/orgmanager-api)\n[![Software License](https://img.shields.io/github/license/orgmanager/php-orgmanager-api.svg?style=flat-square)](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/orgmanager/php-orgmanager-api/master.svg?style=flat-square)](https://travis-ci.org/orgmanager/php-orgmanager-api)\n[![Total Downloads](https://img.shields.io/packagist/dt/orgmanager/orgmanager-api.svg?style=flat-square)](https://packagist.org/packages/orgmanager/orgmanager-api)\n\nThis package makes it easy to interact with [the OrgManager API](https://github.com/orgmanager/orgmanager#api).\n\n## Installation\n\nYou can install the package via composer:\n\n``` bash\ncomposer require orgmanager/orgmanager-api\n```\n\n## Usage\n\nYou must pass a Guzzle client and the API token to the constructor of `OrgManager\\ApiClient\\OrgManager`.\n\n``` php\n$orgmanager = new \\OrgManager\\ApiClient\\OrgManager('YOUR_ORGMANAGER_API_TOKEN');\n```\n\nor you can skip the token and use the `connect()` method later\n\n``` php\n$orgmanager = new \\OrgManager\\ApiClient\\OrgManager();\n\n$orgmanager-\u003econnect('YOUR_ORGMANAGER_API_TOKEN');\n```\n\n### Get User info\n``` php\n$orgmanager-\u003egetUser();\n```\n\n### Get User Orgs\n``` php\n$orgmanager-\u003egetOrgs();\n```\n\n### Get Org info\n``` php\n$orgmanager-\u003egetOrg('ORG_ID');\n```\n\n### Change Org Password\n``` php\n$orgmanager-\u003echangeOrgPassword('ORG_ID', 'NEW_PASSWORD');\n```\n\n### Update Org\n``` php\n$orgmanager-\u003eupdateOrg('ORG_ID');\n```\n\n### Delete Org\n``` php\n$orgmanager-\u003edeleteOrg('ORG_ID');\n```\n\n### Get Stats\n``` php\n$orgmanager-\u003egetStats();\n```\n\n### Renenerate Token\n\n``` php\n$orgmanager-\u003eregenerateToken($set);\n```\nwhere `$set` is false if you don't want to use the new token on future requests.\n\n### Get the Guzzle Client\n\n``` php\n$orgmanager-\u003egetClient();\n```\n\n### Set the Guzzle Client\n\n``` php\n$client = new \\GuzzleHttp\\Client(); // Example Guzzle client\n$orgmanager-\u003esetClient($client);\n```\nwhere $client is an instance of `\\GuzzleHttp\\Client`.\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email soy@miguelpiedrafita.com instead of using the issue tracker.\n\n## Credits\n\n- [Miguel Piedrafita](https://github.com/m1guelpf)\n- [All Contributors](../../contributors)\n\n## License\n\nThe Mozilla Public License 2.0 (MPL-2.0). Please see [License File](LICENSE.md) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forgmanager%2Fphp-orgmanager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forgmanager%2Fphp-orgmanager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forgmanager%2Fphp-orgmanager-api/lists"}