{"id":18812420,"url":"https://github.com/warrant-dev/warrant-php","last_synced_at":"2025-06-16T00:04:50.526Z","repository":{"id":60520176,"uuid":"539325419","full_name":"warrant-dev/warrant-php","owner":"warrant-dev","description":"PHP Client SDK for Warrant","archived":false,"fork":false,"pushed_at":"2024-06-03T19:09:26.000Z","size":21,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T21:14:13.331Z","etag":null,"topics":["abac","access-control","acl","authorization","permissions","php","rbac","role-based-access-control"],"latest_commit_sha":null,"homepage":"","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/warrant-dev.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}},"created_at":"2022-09-21T05:47:01.000Z","updated_at":"2024-06-03T19:09:29.000Z","dependencies_parsed_at":"2024-06-03T22:08:22.488Z","dependency_job_id":null,"html_url":"https://github.com/warrant-dev/warrant-php","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"3144a5afd3773c88d085ae0153566acf0a1f68f0"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/warrant-dev/warrant-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warrant-dev","download_url":"https://codeload.github.com/warrant-dev/warrant-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260072385,"owners_count":22954908,"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":["abac","access-control","acl","authorization","permissions","php","rbac","role-based-access-control"],"created_at":"2024-11-07T23:32:50.515Z","updated_at":"2025-06-16T00:04:50.497Z","avatar_url":"https://github.com/warrant-dev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Warrant PHP SDK\n\nUse [Warrant](https://warrant.dev/) in PHP projects.\n\n[![Latest Stable Version](https://poser.pugx.org/warrant-dev/warrant-php/v/stable.svg)](https://packagist.org/packages/warrant-dev/warrant-php)\n[![License](https://poser.pugx.org/warrant-dev/warrant-php/license.svg)](https://packagist.org/packages/warrant-dev/warrant-php)\n\n## Installation\n\nInstall the SDK using [Composer](https://getcomposer.org/):\n\n```sh\ncomposer require warrant-dev/warrant-php\n```\n\nInclude the SDK using Composer's autoload:\n\n```php\nrequire_once('vendor/autoload.php');\n```\n\n## Usage\n\nImport the Warrant client and pass your API key to the constructor to get started:\n\n```js\n$warrant = new \\Warrant\\Client(\n    new \\Warrant\\Config(\"api_test_f5dsKVeYnVSLHGje44zAygqgqXiLJBICbFzCiAg1E=\")\n);\n\n$newUser = $warrant-\u003ecreateUser(new \\Warrant\\User(\"my-user-id\"));\n```\n\nWe’ve used a random API key in these code examples. Replace it with your\n[actual publishable API keys](https://app.warrant.dev) to\ntest this code through your own Warrant account.\n\nFor more information on how to use the Warrant API, please refer to the\n[Warrant API reference](https://docs.warrant.dev).\n\n## Warrant Documentation\n\n- [Warrant Docs](https://docs.warrant.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarrant-dev%2Fwarrant-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarrant-dev%2Fwarrant-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarrant-dev%2Fwarrant-php/lists"}