{"id":18772662,"url":"https://github.com/authgear/authgear-example-laravel","last_synced_at":"2025-12-13T06:30:12.940Z","repository":{"id":193056481,"uuid":"687383280","full_name":"authgear/authgear-example-laravel","owner":"authgear","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-09T04:55:39.000Z","size":119,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T08:21:34.132Z","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-09-05T08:45:47.000Z","updated_at":"2024-05-11T14:29:51.000Z","dependencies_parsed_at":"2024-11-07T19:35:39.656Z","dependency_job_id":"d6ca7979-f0f8-4f8d-a0a1-4fc31e5e1ddc","html_url":"https://github.com/authgear/authgear-example-laravel","commit_stats":null,"previous_names":["authgear/authgear-example-laravel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/authgear","download_url":"https://codeload.github.com/authgear/authgear-example-laravel/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.334Z","updated_at":"2025-12-13T06:30:12.887Z","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 repository contains example code for using Authgear in a Laravel project. The example Laravel app allows users to log in using OAuth 2.0. Hence this could also be a good starting point for learning how to add OAuth 2.0 user authentication to a Laravel app.\n\n## How to Run the Project\nTo run this project on your computer do the following:\n1. Sign up for a free Authgear account.\n2. Create an Authgear app, and add the configuration for your Authgear project to the Laravel projects env file using the following fields:\n\n```\nAUTHGEAR_PROJECT_URL = \"\"\nAUTHGEAR_APP_CLIENT_ID = \"\"\nAUTHGEAR_APP_CLIENT_SECRET = \"\"\nAUTHGEAR_APP_REDIRECT_URI = \"\"\n```\nTo run the app on you local mechine, run the following commands:\n\n```\nphp artisan migrate\n```\nand\n\n```\nphp artisan serve\n```\n\nFor a more detailed step-by-step guide on how to use Authgear, 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-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauthgear%2Fauthgear-example-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthgear%2Fauthgear-example-laravel/lists"}