PHPackages                             andriymiz/laravel-staging-mode - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. andriymiz/laravel-staging-mode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

andriymiz/laravel-staging-mode
==============================

Staging mode for Laravel project

v1.1.0(1y ago)013MITPHPPHP &gt;=7.4.0

Since Jul 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/andriymiz/laravel-staging-mode)[ Packagist](https://packagist.org/packages/andriymiz/laravel-staging-mode)[ Docs](https://github.com/andriymiz/laravel-staging-mode)[ RSS](/packages/andriymiz-laravel-staging-mode/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Staging mode for Laravel
========================

[](#staging-mode-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/443e07a9d6a8204e4538356d15e59a6821de13bb1fb1608f75b6fc100d3c1be6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e647269796d697a2f6c61726176656c2d73746167696e672d6d6f64652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andriymiz/laravel-staging-mode)[![Total Downloads](https://camo.githubusercontent.com/da3b943837bb991ff40f5c55abcccb3a434481549f10333415d27711abc33983/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e647269796d697a2f6c61726176656c2d73746167696e672d6d6f64652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andriymiz/laravel-staging-mode)

This package allows you to enable a "staging mode" for your Laravel application. This mode is similar to [maintenance mode](https://laravel.com/docs/10.x/configuration#maintenance-mode), but without blocking scheduled tasks and queues.

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

[](#installation)

You can install the package via composer:

```
composer require andriymiz/laravel-staging-mode
```

You can publish the config file with:

```
php artisan vendor:publish --tag="staging-mode-config"
```

Add middleware in `app/Http/Kernel.php`:

```
protected $middleware = [
    // ...
    \StagingMode\Http\Middleware\PreventRequestsDuringStaging::class,
];
```

Usage
-----

[](#usage)

Run the following command to enable the staging mode:

```
php artisan staging:enable
```

This command will add the `STAGING_MODE_SECRET` environment variable to your `.env` file:

```
STAGING_MODE_SECRET=your-secret
```

Go to the `/your-secret` URL for allowing requests to your application.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

3

Last Release

660d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ad37e3e3b18f24df27c7c8ac767d19984faae60e85efdc4f7b982741fdd967a?d=identicon)[andriymiz](/maintainers/andriymiz)

---

Top Contributors

[![andriymiz](https://avatars.githubusercontent.com/u/36619688?v=4)](https://github.com/andriymiz "andriymiz (6 commits)")

---

Tags

laravelstaging-mode

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/andriymiz-laravel-staging-mode/health.svg)

```
[![Health](https://phpackages.com/badges/andriymiz-laravel-staging-mode/health.svg)](https://phpackages.com/packages/andriymiz-laravel-staging-mode)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[watson/active

Laravel helper for recognising the current route, controller and action

3253.6M14](/packages/watson-active)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)

PHPackages © 2026

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