PHPackages                             vdlp/oc-basicauthentication-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. vdlp/oc-basicauthentication-plugin

ActiveOctober-plugin[Security](/categories/security)

vdlp/oc-basicauthentication-plugin
==================================

Protect your website with Basic Authentication.

3.2.2(3y ago)434.0k↓75%3GPL-2.0-onlyPHPPHP ^8.0.2CI failing

Since Jan 24Pushed 4w ago8 watchersCompare

[ Source](https://github.com/vdlp/oc-basicauthentication-plugin)[ Packagist](https://packagist.org/packages/vdlp/oc-basicauthentication-plugin)[ RSS](/packages/vdlp-oc-basicauthentication-plugin/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (2)Versions (14)Used By (0)

Vdlp.BasicAuthentication
========================

[](#vdlpbasicauthentication)

Allows users to manage Basic Authentication credentials for multiple hostnames and environments.

Requirements
------------

[](#requirements)

- October CMS ^2.0
- PHP 8.0.2 or higher

Installation
------------

[](#installation)

```
composer require vdlp/oc-basicauthentication-plugin

```

Configuration
-------------

[](#configuration)

To configure this plugin execute the following command:

```
php artisan vendor:publish --provider="Vdlp\BasicAuthentication\ServiceProviders\BasicAuthenticationServiceProvider" --tag="config"

```

This 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.

Enable / disable plugin
-----------------------

[](#enable--disable-plugin)

> By default basic authentication is disabled.

To 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.

A Note On FastCGI
-----------------

[](#a-note-on-fastcgi)

If 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:

```
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

```

Questions? Need help?
---------------------

[](#questions-need-help)

If you have any question about how to use this plugin, please don't hesitate to contact us at . We're happy to help you.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance62

Regular maintenance activity

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 96.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~136 days

Recently: every ~86 days

Total

12

Last Release

1219d ago

Major Versions

1.2.0 → 2.0.02021-07-13

2.1.0 → 3.0.02022-03-14

PHP version history (4 changes)1.0.0PHP &gt;=7.1

1.1.0PHP ^7.1||^8.0

2.0.0PHP ^7.4 || ^8.0

3.2.0PHP ^8.0.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed365dfb5c3f4b31be2bf8ad39d1541c4c35be295e94a80ed39a4b26204355d0?d=identicon)[vdlp](/maintainers/vdlp)

---

Top Contributors

[![adrenth](https://avatars.githubusercontent.com/u/5699988?v=4)](https://github.com/adrenth "adrenth (53 commits)")[![nathan-van-der-werf](https://avatars.githubusercontent.com/u/1123054?v=4)](https://github.com/nathan-van-der-werf "nathan-van-der-werf (2 commits)")

---

Tags

basic-authenticationbasicauthenticationoctober-cmsoctobercmsoctobercms-pluginphppluginsecurity

### Embed Badge

![Health badge](/badges/vdlp-oc-basicauthentication-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/vdlp-oc-basicauthentication-plugin/health.svg)](https://phpackages.com/packages/vdlp-oc-basicauthentication-plugin)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[rainlab/pages-plugin

Pages plugin for October CMS

12253.8k4](/packages/rainlab-pages-plugin)[rainlab/user-plugin

User plugin for October CMS

11955.0k15](/packages/rainlab-user-plugin)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

20474.7k2](/packages/johnbillion-user-switching)[rainlab/builder-plugin

Builder plugin for October CMS

17147.6k1](/packages/rainlab-builder-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
