PHPackages                             growats/ok-nic-login-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. [Security](/categories/security)
4. /
5. growats/ok-nic-login-security

ActiveLibrary[Security](/categories/security)

growats/ok-nic-login-security
=============================

A Laravel package for advanced Login security practices with OTP, logging, role management, encryption, backups, and SEO settings.

00PHP

Since Feb 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kshyam1795/ok-nic-login-security)[ Packagist](https://packagist.org/packages/growats/ok-nic-login-security)[ RSS](/packages/growats-ok-nic-login-security/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Secure Login and OWASP Security Package
=======================================

[](#secure-login-and-owasp-security-package)

This package offers secure login with **email OTP**, **role/permission management**, **profile management**, **SEO settings**, **audit logging**, **backup management**, and **end-to-end encryption** for Laravel applications.

Features
--------

[](#features)

- **Email OTP Authentication** for secure login.
- **Role and Permission Management** using Spatie's package.
- **Profile Management** for users and admin.
- **Audit Logs** for all significant actions.
- **Toaster Notifications** for error/success feedback.
- **SEO &amp; Settings Management** for better control.
- **Database and Source Code Backup** support.
- **Payload End-to-End Encryption** for security.

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

[](#installation)

```
composer require growats/ok-nic-login-security

##Configuration
Publish config file:

php artisan vendor:publish --provider="Growats\OkNicLoginSecurity\OkNicLoginSecurityServiceProvider"
Configure settings in .env file for security keys, etc.

##Key Features
User Registration/Login with Email OTP:

##Sends OTP to email for login and registration.
Verifies OTP for authentication.
Role and Permission Management:

##Admin can manage user roles and permissions.
Uses Policies to manage access.
Profile Management:

##Users can manage their profiles.
Admin can update roles, permissions, etc.
Audit Logging:

##Logs actions such as login attempts, profile updates, and changes in settings.
Error Handling (Toaster):

##Displays errors, success, and info messages with toast notifications.
SEO & Settings:

##Manages SEO configurations and general settings (site name, meta description, etc.).
Backup Management:

##Database backup and Source code backup.
Security Features:

##Encrypted form data for login, registration, and profile update (End-to-End Encryption).
Ability to enable/disable security features (e.g., OTP, encryption).

##Notifications on security breaches.
Laravel Upgrade Notifications:

Admin receives notifications for any available Laravel updates.
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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.

### Community

Maintainers

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

---

Top Contributors

[![kshyam1795](https://avatars.githubusercontent.com/u/38130537?v=4)](https://github.com/kshyam1795 "kshyam1795 (3 commits)")

### Embed Badge

![Health badge](/badges/growats-ok-nic-login-security/health.svg)

```
[![Health](https://phpackages.com/badges/growats-ok-nic-login-security/health.svg)](https://phpackages.com/packages/growats-ok-nic-login-security)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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