{"id":22253046,"url":"https://github.com/plusauth/plusauth-php-starter","last_synced_at":"2025-03-25T12:23:51.289Z","repository":{"id":53073776,"uuid":"273363902","full_name":"PlusAuth/plusauth-php-starter","owner":"PlusAuth","description":"PHP starter project demonstrating OIDC authentication using Jumbojett\\OpenIDConnectClient.","archived":false,"fork":false,"pushed_at":"2022-01-18T21:50:23.000Z","size":28,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T11:23:38.590Z","etag":null,"topics":["example","oidc","openidconnect","php","php7","plusauth"],"latest_commit_sha":null,"homepage":"","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/PlusAuth.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}},"created_at":"2020-06-18T23:57:08.000Z","updated_at":"2022-02-12T13:36:01.000Z","dependencies_parsed_at":"2022-09-11T16:50:59.703Z","dependency_job_id":null,"html_url":"https://github.com/PlusAuth/plusauth-php-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-php-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-php-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-php-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlusAuth%2Fplusauth-php-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlusAuth","download_url":"https://codeload.github.com/PlusAuth/plusauth-php-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245459596,"owners_count":20618889,"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":["example","oidc","openidconnect","php","php7","plusauth"],"created_at":"2024-12-03T07:16:02.277Z","updated_at":"2025-03-25T12:23:51.258Z","avatar_url":"https://github.com/PlusAuth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://plusauth.com/\"\u003e\n    \u003cimg src=\"https://docs.plusauth.com/favicon.png\" alt=\"Logo\" width=\"144\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003ePlusAuth PHP Starter Project\u003c/h1\u003e\n\n \u003cp align=\"center\"\u003e\n    Simple PHP project demonstrates basic authentication flows with PlusAuth\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://docs.plusauth.com/quickStart/web/php\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth PHP docs »\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n    \u003cli\u003e\u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#what-is-plusauth\"\u003eWhat is PlusAuth\u003c/a\u003e\u003c/li\u003e\n \u003c/ol\u003e\n\u003c/details\u003e\n\n---\n\n## About The Project\n\nIt is a simple `PHP` project demonstrating basic authentication flows such as register, login, and logout. `Jumbojett\\OpenIDConnectClient` is used for authentication to keep things simple.\n\n## Prerequisites\n\nBefore running the project, you must first follow these steps:\n\n1. Create a PlusAuth account and a tenant at https://dashboard.plusauth.com\n2. Navigate to the `Clients` tab and create a client of type `Regular Web Application`\n3. Go to the details page of the client that you've just created and set the following fields as:\n\n   - Redirect Uris: http://localhost:3000/login.php\n\n   - Post-Logout Redirect Uris: http://localhost:3000/\n\nFinally, write down your Client Id and Client Secret for server configuration\n\n## Getting Started\n\nFirst, we need to configure the server. Rename `.env.example` to `.env`.\n\nThen configure the `.env` file using your Client Id, Client Secret, and your PlusAuth tenant name.\n\n**_Note:_** `composer` must be installed on your system to install project dependencies.\n\nYou can run the project with the following options:\n\n### With PHP command\n\n**_Note:_** You must have `curl` and `XML` extensions for PHP installed and enabled.\n\nInstall following packages if not installed on your system\n\n    sudo apt-get install composer zip php-curl php-xml\n\nInstall dependencies:\n\n    composer install\n\nStart the server:\n\n    php -S localhost:3000 -t public\n\n### With Docker-Compose\n\nInstall dependencies:\n\n    composer install\n\nFinally, start the server:\n\n    docker-compose up\n\nThe example is hosted at http://localhost:3000/\n\n## License\n\nThe project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n\n## What is PlusAuth\n\nPlusAuth helps individuals, teams, and organizations to implement authorization and authentication systems in a secure, flexible and easy way.\n\n\u003ca href=\"https://plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Website »\u003c/strong\u003e\u003c/a\u003e\n\n\u003ca href=\"https://docs.plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Docs »\u003c/strong\u003e\u003c/a\u003e\n\n\u003ca href=\"https://forum.plusauth.com/\" target=\"_blank\"\u003e\u003cstrong\u003eExplore the PlusAuth Forum »\u003c/strong\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusauth%2Fplusauth-php-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplusauth%2Fplusauth-php-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusauth%2Fplusauth-php-starter/lists"}