PHPackages                             diviky/laravel-security - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. diviky/laravel-security

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

diviky/laravel-security
=======================

Provides security settings and login history

v3.1.7(9mo ago)223.2k2[1 PRs](https://github.com/diviky/laravel-security/pulls)MITPHPPHP ^8.3

Since Nov 7Pushed 7mo ago1 watchersCompare

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

READMEChangelogDependencies (10)Versions (34)Used By (0)

Laravel Security
================

[](#laravel-security)

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

[](#installation)

> Package requires Laravel 7 or higher, and PHP 7.0+.

You may use Composer to install package into your Laravel project:

```
composer require diviky/laravel-security

```

### Configuration

[](#configuration)

After installing the package, publish its config, migration and view, using the `vendor:publish` Artisan command:

```
php artisan vendor:publish --provider="Diviky\Security\SecurityServiceProvider"

```

Next, you need to migrate your database. The Laravel Authentication Log migration will create the table your application needs to store authentication logs:

```
php artisan migrate

```

#### Avaliable Middlewars

[](#avaliable-middlewars)

```
'firewall.blacklist'
'firewall.whitelist'
'firewall.attacks'
'2fa'
'2fa.remember'
'2fa.stateless'
'security.password' // Check is password very older
'security.headers' // Add headers
```

License
-------

[](#license)

Laravel Authentication Log is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance61

Regular maintenance activity

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.1% 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 ~55 days

Recently: every ~40 days

Total

32

Last Release

289d ago

Major Versions

v1.0.14 → v2.0.12023-01-05

2.x-dev → 3.x-dev2023-03-28

v2.0.2 → v3.0.12023-07-27

PHP version history (7 changes)v1.0.0PHP &gt;=7.1

v1.0.2PHP &gt;=7.1|^8.0

v1.0.4PHP &gt;=7.4|^8.0

v1.0.11PHP ^8.0|^8.1

v2.0.1PHP ^8.1

v3.0.3PHP ^8.2

v3.1.1PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/99c172c42e19c2ad0db03c0596a00eb21047df990ba405bb2d1fd57204eb2c2f?d=identicon)[sankar.suda](/maintainers/sankar.suda)

---

Top Contributors

[![sankarsuda](https://avatars.githubusercontent.com/u/798414?v=4)](https://github.com/sankarsuda "sankarsuda (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

loglaravelAuthenticationnotification

### Embed Badge

![Health badge](/badges/diviky-laravel-security/health.svg)

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

###  Alternatives

[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

27025.0k](/packages/saasscaleup-laravel-log-alarm)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[moesif/moesif-laravel

Moesif Collection/Data Ingestion Middleware for Laravel

1065.8k](/packages/moesif-moesif-laravel)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)

PHPackages © 2026

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