PHPackages                             sticknologic/laravel-ui-lockout - 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. [Templating &amp; Views](/categories/templating)
4. /
5. sticknologic/laravel-ui-lockout

ActiveLibrary[Templating &amp; Views](/categories/templating)

sticknologic/laravel-ui-lockout
===============================

A Laravel package providing a customizable UI lockout component

v1.0.0(4mo ago)20MITPHPPHP ^8.1|^8.2|^8.3

Since Feb 21Pushed 4mo agoCompare

[ Source](https://github.com/STICKnoLOGIC/laravel-ui-lockout)[ Packagist](https://packagist.org/packages/sticknologic/laravel-ui-lockout)[ RSS](/packages/sticknologic-laravel-ui-lockout/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Laravel UI Lockout
==================

[](#laravel-ui-lockout)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![Laravel](https://camo.githubusercontent.com/b4a5bfdc0b159e3198df12b156e735495966a34f1f23f5b181ed896f540de22d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d3130253230253743253230313125323025374325323031322d7265642e737667)](https://laravel.com)[![PHP](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://php.net)

Project Description
-------------------

[](#project-description)

A simple Laravel package that shows a lockout screen to block users from accessing your app. Built specifically to help agencies and developers manage clients who haven't paid their invoices - preventing them from using the app until payment is complete.

**Works only with Laravel 10.x upto latest**

ads
---

[](#ads)

[![Sponsored by GitAds](https://camo.githubusercontent.com/ec8c743a1f07735f48069840f337fe545f8207081847c0d76e721257f7a7326f/68747470733a2f2f6769746164732e6465762f76312f61642d73657276653f736f757263653d737469636b6e6f6c6f6769632f6c61726176656c2d75692d6c6f636b6f757440676974687562)](https://gitads.dev/v1/ad-track?source=sticknologic/laravel-ui-lockout@github)

Project Use Cases
-----------------

[](#project-use-cases)

This package is perfect for:

**Main Purpose:** Stop clients who haven't paid from accessing the source code or using your Laravel application.

- **Subscription Expired** - Block access when a client's subscription ends
- **Trial Period Ended** - Lock the app after the free trial finishes
- **Maintenance Mode** - Show a custom maintenance page during updates
- **Protect Sensitive Data** - Use gibberish mode to completely obscure confidential information

How to Use
----------

[](#how-to-use)

### Basic Usage

[](#basic-usage)

**1. Install the package**

```
composer require sticknologic/laravel-ui-lockout
```

**2. Publish the config file** (optional)

```
php artisan vendor:publish --tag=ui-lockout-config
```

**3. Wrap your content with the component**

```

    {{-- Your main app content goes here --}}

        Welcome to Your App
        This content shows normally until the expiration date.

```

That's it! Your content shows normally until the expiration date, then the lockout screen takes over.

---

### Configuration Reference

[](#configuration-reference)

All available configuration options in `config/ui-lockout.php`:

```
