PHPackages                             anasnasr/site-downer-laravel - 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. anasnasr/site-downer-laravel

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

anasnasr/site-downer-laravel
============================

A Laravel package to display a customizable site down overlay.

v1.0.0(1y ago)33MITPHP

Since Dec 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/anasn5020/SiteDownerLaravel)[ Packagist](https://packagist.org/packages/anasnasr/site-downer-laravel)[ RSS](/packages/anasnasr-site-downer-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Site Downer Laravel
===================

[](#site-downer-laravel)

Site Downer Laravel is a Laravel package that allows developers to easily display a customizable "site down" overlay message when needed, such as when payments are overdue. This overlay provides a simple way to notify site owners about payment issues without taking the entire site offline.

Features
--------

[](#features)

Display an optional "site down" overlay on all pages. Fully customizable overlay message and design. Easy-to-use configuration options. Compatible with Laravel 8.x, 9.x, and 10.x.

Author
------

[](#author)

Name: Anas Nasr
Email:
GitHub: anasn5020

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

[](#installation)

### Step 1: Install via Composer

[](#step-1-install-via-composer)

Run the following command in your Laravel project directory:
`composer require anasnasr/site-downer-laravel`

### Step 2: Register the Service Provider

[](#step-2-register-the-service-provider-)

If you're using Laravel 7.x or earlier, manually register the service provider in `config/app.php` by adding this line to the providers array:
`Anasnasr\SiteDownerLaravel\PaymentCheckerServiceProvider::class,`
For Laravel 8.x and above, this step is not required as the package uses auto-discovery.

### Step 3: Publish Configuration and Views

[](#step-3-publish-configuration-and-views-)

Publish the configuration file and views using the following commands:

`php artisan vendor:publish --tag=config`
`php artisan vendor:publish --tag=views`

### Step 4: Configure the Environment

[](#step-4-configure-the-environment-)

Add the following variables to your .env file to activate the overlay and customize the message:
`PAYMENT_CHECKER_ACTIVE=true`
`PAYMENT_CHECKER_MESSAGE="Payment is pending. Please contact the developer."`
Configuration
The configuration file config/paymentchecker.php provides the following default options:
`return [``'active' => env('PAYMENT_CHECKER_ACTIVE', false),``'message' => env('PAYMENT_CHECKER_MESSAGE', 'Please contact the developer to clear payments.'),``];`

### Usage

[](#usage)

When PAYMENT\_CHECKER\_ACTIVE is set to true, the "site down" overlay will appear across all pages. The overlay message can be customized via the PAYMENT\_CHECKER\_MESSAGE environment variable. Customizing the Overlay The default overlay view is located in resources/views/vendor/paymentchecker/overlay.blade.php. Feel free to edit this file to match your design or add custom styles.

### Compatibility

[](#compatibility)

Laravel 8.x, 9.x, and 10.x are fully supported. Requires PHP 7.4, 8.0, or above.

### License

[](#license)

This package is open-source and licensed under the MIT License. See the LICENSE file for details.

### Contribution

[](#contribution)

Contributions are welcome! To report issues or submit pull requests, visit the GitHub repository.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

517d ago

### Community

Maintainers

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

---

Top Contributors

[![anasn5020](https://avatars.githubusercontent.com/u/102870259?v=4)](https://github.com/anasn5020 "anasn5020 (12 commits)")

### Embed Badge

![Health badge](/badges/anasnasr-site-downer-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/anasnasr-site-downer-laravel/health.svg)](https://phpackages.com/packages/anasnasr-site-downer-laravel)
```

###  Alternatives

[wildbit/craft3-donottrack

Craft 3 plugin for respecting Do Not Track headers sent by browsers.

144.3k](/packages/wildbit-craft3-donottrack)[cinghie/yii2-menu

Yii2 Menu to create, manage, and delete dynamic menus in a Yii2 site.

101.1k](/packages/cinghie-yii2-menu)

PHPackages © 2026

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