PHPackages                             unicodeveloper/laravel-sessiontimeout - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. unicodeveloper/laravel-sessiontimeout

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

unicodeveloper/laravel-sessiontimeout
=====================================

A middleware to deal with your sessiontimeout problems in Laravel 5

102.6k↓50%8[1 issues](https://github.com/unicodeveloper/laravel-sessiontimeout/issues)PHP

Since Nov 23Pushed 10y ago3 watchersCompare

[ Source](https://github.com/unicodeveloper/laravel-sessiontimeout)[ Packagist](https://packagist.org/packages/unicodeveloper/laravel-sessiontimeout)[ RSS](/packages/unicodeveloper-laravel-sessiontimeout/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

A laravel session timeout middleware
====================================

[](#a-laravel-session-timeout-middleware)

[![Latest Stable Version](https://camo.githubusercontent.com/44b9972696699564a9ec7fc63cea6a3540a4ef7efac98c3a18ab5c40514b78a0/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6c61726176656c2d73657373696f6e74696d656f75742f762f737461626c652e737667)](https://packagist.org/packages/unicodeveloper/laravel-sessiontimeout)[![](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)[![License](https://camo.githubusercontent.com/a7abeeabc9d17398ecafe19b71290fbe4bd2834f32a6aa61797a19dadec5b600/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6c61726176656c2d73657373696f6e74696d656f75742f6c6963656e73652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/f144a4f338cd0ccc2c80e0250c0ca522a2276605c214d2139bc13615bd03c776/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f756e69636f646576656c6f7065722f6c61726176656c2d73657373696f6e74696d656f75742e737667)](https://travis-ci.org/unicodeveloper/laravel-mentions)[![Quality Score](https://camo.githubusercontent.com/b37d8217bcb487b7dc19010a5262748c870099ca74a6ded02f38dfa5664a0492/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f756e69636f646576656c6f7065722f6c61726176656c2d73657373696f6e74696d656f75742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/unicodeveloper/laravel-sessiontimeout)[![Total Downloads](https://camo.githubusercontent.com/ec712dd5c396be9069af4e639e6e39157e7e57d7da9dfe6d70e077d81159fa61/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f756e69636f646576656c6f7065722f6c61726176656c2d73657373696f6e74696d656f75742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/unicodeveloper/laravel-sessiontimeout)

This package is a very simple but useful for handling session timeouts due to user inactivity on a website/application

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

[](#installation)

First, pull in the package through Composer.

```
"require": {
    "unicodeveloper/laravel-sessiontimeout": "1.0.*"
}
```

Next you must add the `Unicodeveloper\Http\Middleware\SessionTimeout` to the kernel.

```
// app/Http/Kernel.php

...
protected $middleware = [
    ...
    \Unicodeveloper\Http\Middleware\SessionTimeout::class,
];
```

Install
-------

[](#install)

Via Composer

```
$ composer require unicodeveloper/laravel-sessiontimeout
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Prosper Otemuyiwa](https://twitter.com/unicodeveloper)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![unicodeveloper](https://avatars.githubusercontent.com/u/2946769?v=4)](https://github.com/unicodeveloper "unicodeveloper (8 commits)")

### Embed Badge

![Health badge](/badges/unicodeveloper-laravel-sessiontimeout/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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