PHPackages                             coreblue/moat - 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. coreblue/moat

ActiveLibrary[Security](/categories/security)

coreblue/moat
=============

Password protect your staging websites

v1.0(7y ago)028PHP

Since Oct 3Pushed 7y ago2 watchersCompare

[ Source](https://github.com/coreblueltd/moat)[ Packagist](https://packagist.org/packages/coreblue/moat)[ RSS](/packages/coreblue-moat/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Moat
====

[](#moat)

This package makes it easy to password protect your Laravel staging websites.

Installation
============

[](#installation)

You can install the package via composer:

```
composer require coreblue/moat
```

Setup
=====

[](#setup)

Register the Moat middleware in the application's route middleware groups.

```
//app/http/Kernel.php
protected $middlewareGroups = [
    'web' => [
        \CoreBlue\Moat\Middleware\ApplyMoat::class,
    ],
];
```

Usage
=====

[](#usage)

To get started with Moat run the following command.

```
php artisan moat:create
```

Once the create command has been run you will be able to run the following commands.

You can enable Moat via:

```
php artisan moat:up
```

You can disable Moat via:

```
php artisan moat:down
```

You can set a new password via:

```
php artisan moat:password
```

You can check the current status via:

```
php artisan moat:status
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Unknown

Total

1

Last Release

2827d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30258189?v=4)[Scott Helps](/maintainers/scotthelps)[@scotthelps](https://github.com/scotthelps)

---

Top Contributors

[![danhardman](https://avatars.githubusercontent.com/u/5691966?v=4)](https://github.com/danhardman "danhardman (1 commits)")

### Embed Badge

![Health badge](/badges/coreblue-moat/health.svg)

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M138](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k35](/packages/paragonie-ecc)

PHPackages © 2026

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