PHPackages                             sertxudeveloper/laravel-lockscreen - 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. sertxudeveloper/laravel-lockscreen

ActiveLibrary[Security](/categories/security)

sertxudeveloper/laravel-lockscreen
==================================

Package for locking the user account due to inactivity

v1.1.0(3y ago)64.1k—0%1[1 PRs](https://github.com/sertxudeveloper/laravel-lockscreen/pulls)MITPHPPHP ^8.1CI passing

Since Sep 6Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/sertxudeveloper/laravel-lockscreen)[ Packagist](https://packagist.org/packages/sertxudeveloper/laravel-lockscreen)[ Docs](https://github.com/sertxudeveloper/laravel-lock-screen)[ Fund](https://buymeacoffee.com/sertxudeveloper)[ GitHub Sponsors](https://github.com/sertxudev)[ RSS](/packages/sertxudeveloper-laravel-lockscreen/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (8)Used By (0)

[![Laravel Lock Screen by Sertxu Developer](/art/socialcard.png)](/art/socialcard.png)

Add a lock screen to your Laravel app
=====================================

[](#add-a-lock-screen-to-your-laravel-app)

[![](https://camo.githubusercontent.com/4831a28d170857ac84cfbd3271d38c48687e0d36b876b766b0e1acc3403231f7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e)](https://camo.githubusercontent.com/4831a28d170857ac84cfbd3271d38c48687e0d36b876b766b0e1acc3403231f7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e) [![](https://github.com/sertxudeveloper/laravel-lockscreen/actions/workflows/run-tests.yml/badge.svg)](https://github.com/sertxudeveloper/laravel-lockscreen/actions/workflows/run-tests.yml/badge.svg) [![](https://camo.githubusercontent.com/4ede292504ff6e8535808b833e32019fff21bdbbdcabd4a5c79870a141f3e382/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e)](https://camo.githubusercontent.com/4ede292504ff6e8535808b833e32019fff21bdbbdcabd4a5c79870a141f3e382/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e) [![](https://camo.githubusercontent.com/ef2f96745fd6f2078cc0381bec3f0c084a7ed3cd48bf4ce63f7dcf2c8c6e547f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e)](https://camo.githubusercontent.com/ef2f96745fd6f2078cc0381bec3f0c084a7ed3cd48bf4ce63f7dcf2c8c6e547f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e) [![](https://camo.githubusercontent.com/89835eff7c88d827465e4cde6e10e1540720a83690eeb7a360821bbf1b3e55e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e)](https://camo.githubusercontent.com/89835eff7c88d827465e4cde6e10e1540720a83690eeb7a360821bbf1b3e55e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e) [![](https://camo.githubusercontent.com/4fb859c04e26ae112bfab0687fe93f5780346418019ca6c73164d92904c97c9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e)](https://camo.githubusercontent.com/4fb859c04e26ae112bfab0687fe93f5780346418019ca6c73164d92904c97c9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e) [![](https://camo.githubusercontent.com/22bc48ff41035d5ac116723db24fbf43dacacd05ff6d1e69425d264b9144a5ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e)](https://camo.githubusercontent.com/22bc48ff41035d5ac116723db24fbf43dacacd05ff6d1e69425d264b9144a5ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e) [![Codecov Test coverage](https://camo.githubusercontent.com/0085e4f9ecffb738dc430a092d13e3ed96484d00cf8ef4121e0ae3fb4356b99b/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f736572747875646576656c6f7065722f6c61726176656c2d6c6f636b73637265656e)](https://app.codecov.io/gh/sertxudeveloper/laravel-lockscreen)

This packages adds the functionality to add a lock screen in your app.

The users will be required to re-enter the password once the session has timed out due to inactivity.

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

[](#installation)

You can install the package via composer:

```
composer require sertxudeveloper/laravel-lockscreen
```

Next, you should run the installation command:

```
php artisan lockscreen:install
```

Usage
-----

[](#usage)

Once you have installed the package, you're users will be redirected to the `locked` route once the session has expired.

In the configuration file you can specify how much time the user can be inactive before locking it's account.

Testing
-------

[](#testing)

This package contains tests, you can run them using the following command:

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/sertxudeveloper/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Sergio Peris](https://github.com/sertxudev)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Copyright © 2022 Sertxu Developer

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance48

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 78% 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 ~40 days

Total

5

Last Release

1188d ago

Major Versions

v0.2.1 → v1.0.02022-12-28

### Community

Maintainers

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

---

Top Contributors

[![sertxudev](https://avatars.githubusercontent.com/u/22801379?v=4)](https://github.com/sertxudev "sertxudev (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

hacktoberfestlaravellaravel-packagelockscreensecuritysertxudeveloperlaravelsertxudeveloperlaravel-lock-screen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sertxudeveloper-laravel-lockscreen/health.svg)

```
[![Health](https://phpackages.com/badges/sertxudeveloper-laravel-lockscreen/health.svg)](https://phpackages.com/packages/sertxudeveloper-laravel-lockscreen)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[ercsctt/laravel-file-encryption

Secure file encryption and decryption for Laravel applications

642.6k](/packages/ercsctt-laravel-file-encryption)

PHPackages © 2026

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