PHPackages                             rtmatt/htpasswd - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. rtmatt/htpasswd

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

rtmatt/htpasswd
===============

Automatically generate htpasswd and htaccess entries for Basic Auth

0.0.6(10y ago)0565[1 issues](https://github.com/rtmatt/Htpasswd/issues)PHP

Since Apr 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rtmatt/Htpasswd)[ Packagist](https://packagist.org/packages/rtmatt/htpasswd)[ RSS](/packages/rtmatt-htpasswd/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (7)Used By (0)

HTPASSWD Generator
==================

[](#htpasswd-generator)

Usage
-----

[](#usage)

### Install

[](#install)

```
composer require rtmatt/htpasswd
```

### Add Service Provider

[](#add-service-provider)

Add the following to the 'providers' array in `config/app.php`

```
 RTMatt\Htpasswd\Providers\HtpasswdServiceProvider::class,
```

### Run

[](#run)

To generate password guard

```
php artisan htpasswd:make
```

This will generate your .htpasswd file and .htaccess entries. Both the username and password will be the name you enter as an argument for the artisan command.

To remove password guard

```
php artisan htpasswd:delete
```

This will remove your .htpasswd file and remove the auth entries from .htaccess

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

6

Last Release

3774d ago

### Community

Maintainers

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

---

Top Contributors

[![rtmatt](https://avatars.githubusercontent.com/u/12945032?v=4)](https://github.com/rtmatt "rtmatt (10 commits)")

### Embed Badge

![Health badge](/badges/rtmatt-htpasswd/health.svg)

```
[![Health](https://phpackages.com/badges/rtmatt-htpasswd/health.svg)](https://phpackages.com/packages/rtmatt-htpasswd)
```

###  Alternatives

[tg/tgwebvalid

An easy way to validate Telegram Login Widget and Telegram Mini App users on your website using PHP

6827.5k1](/packages/tg-tgwebvalid)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[kissdigital-com/apple-sign-in-client-secret-generator

PHP package for generating 'client secret' for Sign In with Apple

2125.5k](/packages/kissdigital-com-apple-sign-in-client-secret-generator)[denniseilander/laravel-passport-scopes-restriction

Restrict scopes for different Laravel Passport clients.

1636.3k](/packages/denniseilander-laravel-passport-scopes-restriction)

PHPackages © 2026

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