{"id":20410017,"url":"https://github.com/vdlp/oc-basicauthentication-plugin","last_synced_at":"2025-08-21T12:38:59.530Z","repository":{"id":34048185,"uuid":"167012578","full_name":"vdlp/oc-basicauthentication-plugin","owner":"vdlp","description":"October CMS plugin which adds HTTP Basic Authentication","archived":false,"fork":false,"pushed_at":"2024-03-14T13:47:27.000Z","size":85,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T12:48:50.905Z","etag":null,"topics":["basic-authentication","basicauthentication","october-cms","octobercms","octobercms-plugin","php","plugin","security"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vdlp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-01-22T14:57:22.000Z","updated_at":"2023-03-03T13:37:37.000Z","dependencies_parsed_at":"2024-03-14T14:49:09.349Z","dependency_job_id":"83a9c243-c7ac-441a-8f41-0857d49a24f3","html_url":"https://github.com/vdlp/oc-basicauthentication-plugin","commit_stats":{"total_commits":37,"total_committers":4,"mean_commits":9.25,"dds":"0.18918918918918914","last_synced_commit":"0e8e09d003b975c67f95538e50614e7a4fd9db1a"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-basicauthentication-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-basicauthentication-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-basicauthentication-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdlp%2Foc-basicauthentication-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdlp","download_url":"https://codeload.github.com/vdlp/oc-basicauthentication-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248592121,"owners_count":21130183,"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":["basic-authentication","basicauthentication","october-cms","octobercms","octobercms-plugin","php","plugin","security"],"created_at":"2024-11-15T05:44:37.444Z","updated_at":"2025-04-12T15:53:10.553Z","avatar_url":"https://github.com/vdlp.png","language":"PHP","readme":"# Vdlp.BasicAuthentication\n\nAllows users to manage Basic Authentication credentials for multiple hostnames and environments.\n\n## Requirements\n\n* October CMS ^2.0\n* PHP 8.0.2 or higher\n\n## Installation\n\n```\ncomposer require vdlp/oc-basicauthentication-plugin\n```\n\n## Configuration\n\nTo configure this plugin execute the following command:\n\n```\nphp artisan vendor:publish --provider=\"Vdlp\\BasicAuthentication\\ServiceProviders\\BasicAuthenticationServiceProvider\" --tag=\"config\"\n```\n\nThis will create a `config/basicauthentication.php` file in your app where you can modify the configuration if you don't want to use `.env` variables.\n\n## Enable / disable plugin\n\n\u003e By default basic authentication is disabled.\n\nTo enable basic authentication, you have to set the env variable to `BASIC_AUTHENTICATION_ENABLED` to `true` in your `.env` file or edit the published config file.\n\n## A Note On FastCGI\n\nIf you are using PHP FastCGI, HTTP Basic authentication may not work correctly out of the box. The following lines should be added to your `.htaccess` file:\n\n```\nRewriteCond %{HTTP:Authorization} ^(.+)$\nRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n```\n\n## Questions? Need help?\n\nIf you have any question about how to use this plugin, please don't hesitate to contact us at octobercms@vdlp.nl. We're happy to help you.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdlp%2Foc-basicauthentication-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdlp%2Foc-basicauthentication-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdlp%2Foc-basicauthentication-plugin/lists"}