{"id":18907557,"url":"https://github.com/tomodomoco/vanilla-authenticator","last_synced_at":"2025-06-16T06:07:34.318Z","repository":{"id":142761242,"uuid":"150431783","full_name":"TomodomoCo/vanilla-authenticator","owner":"TomodomoCo","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-04T12:31:44.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T00:51:28.359Z","etag":null,"topics":["library","php"],"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/TomodomoCo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-26T13:33:40.000Z","updated_at":"2019-08-04T12:31:35.000Z","dependencies_parsed_at":"2023-04-13T23:46:28.756Z","dependency_job_id":null,"html_url":"https://github.com/TomodomoCo/vanilla-authenticator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/TomodomoCo/vanilla-authenticator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fvanilla-authenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fvanilla-authenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fvanilla-authenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fvanilla-authenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomodomoCo","download_url":"https://codeload.github.com/TomodomoCo/vanilla-authenticator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomodomoCo%2Fvanilla-authenticator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260109578,"owners_count":22960034,"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":["library","php"],"created_at":"2024-11-08T09:22:09.189Z","updated_at":"2025-06-16T06:07:34.292Z","avatar_url":"https://github.com/TomodomoCo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vanilla Authenticator\n\nPHP library for programmatically authenticating with Vanilla Forums.\n\n## Example\n\n```php\n\u003c?php\n\n$auth = new VanillaAuthentication('http://my-forum-name.vanillaforums.com');\n$auth-\u003esetCredentials('user@domain.com', 'abcd1234');\n\ntry {\n\t$response = $auth-\u003eauthenticate();\n} catch (\\Exception $e) {\n\techo 'Your credentials were invalid.';\n}\n```\n\nAfter authenticating, use the Guzzle client to fetch additional data as the authenticated user:\n\n```php\n\u003c?php\n\n$client = $auth-\u003egetClient();\n\n$response = $client-\u003eget('http://my-forum-name.vanillaforums.com/profile.json');\n$profile  = json_decode((string) $response-\u003egetBody(), true);\n\nprint_r($profile);\n```\n\n## About Tomodomo\n\nTomodomo is a creative agency for magazine publishers. We use custom design and technology to speed up your editorial workflow, engage your readers, and build sustainable subscription revenue for your business.\n\nLearn more at [tomodomo.co](https://tomodomo.co) or email us: [hello@tomodomo.co](mailto:hello@tomodomo.co)\n\n## License \u0026 Conduct\n\nThis project is licensed under the terms of the MIT License, included in `LICENSE.md`.\n\nAll open source Tomodomo projects follow a strict code of conduct, included in `CODEOFCONDUCT.md`. We ask that all contributors adhere to the standards and guidelines in that document.\n\nThank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomodomoco%2Fvanilla-authenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomodomoco%2Fvanilla-authenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomodomoco%2Fvanilla-authenticator/lists"}