{"id":18772656,"url":"https://github.com/authgear/authgear-example-php","last_synced_at":"2025-10-25T00:05:04.711Z","repository":{"id":190228615,"uuid":"677273296","full_name":"authgear/authgear-example-php","owner":"authgear","description":"Authentication for PHP Website with Authgear and OAuth2","archived":false,"fork":false,"pushed_at":"2024-03-12T15:11:26.000Z","size":105,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T08:21:31.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/authgear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-08-11T06:52:03.000Z","updated_at":"2023-08-23T16:13:41.000Z","dependencies_parsed_at":"2024-11-07T19:35:41.393Z","dependency_job_id":"32bfb708-2326-4c04-9b4b-d94bf30822fd","html_url":"https://github.com/authgear/authgear-example-php","commit_stats":null,"previous_names":["authgear/authgear-example-php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/authgear","download_url":"https://codeload.github.com/authgear/authgear-example-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239681025,"owners_count":19679508,"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":[],"created_at":"2024-11-07T19:29:50.052Z","updated_at":"2025-10-25T00:05:04.705Z","avatar_url":"https://github.com/authgear.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An Example App For Adding User Authentication with Authgear and OAuth 2.0 to a Regular PHP Website.\n\n## What is Authgear?\nAuthgear is a secure authentication and user management platform. It uses OpenID Connect (OIDC) and OAuth 2.0 to identify who a user is and grant authorization to protected resources.\n\nThis example app is written in regular PHP without any framework. It uses Authgear to allow users to log in to a website and request protected resources.\n\n## How to Run the Project\n 1. Before you run this project on your local machine, sign up for a [free Authgear account](https://authgear.com).\n 2. Create an Authgear app, of type OIDC in Authgear Portal.\n 3. Clone this project on your local machine by running the following command:\n ```git clone https://github.com/authgear/authgear-example-php.git```\n 4. Add the configuration (`Client ID`, `Client Secret`, `Authgear App URL`, `Redirect URI`) for your Authgear app to the `.env` file.\n 5. Run `composer update`\n 6. Run the project on your local PHP/Apache server like XAMPP/WAMP or via CLI\n\nFor a more detailed step-by-step guild on how to use Authgear with PHP, check out this post:\n[https://docs.authgear.com/get-started/regular-web-app](https://docs.authgear.com/get-started/regular-web-app)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthgear%2Fauthgear-example-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauthgear%2Fauthgear-example-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthgear%2Fauthgear-example-php/lists"}