PHPackages                             kdcwinner/securitycode - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. kdcwinner/securitycode

ActiveProject[Validation &amp; Sanitization](/categories/validation)

kdcwinner/securitycode
======================

It will generate a code which will be numbers with 6 digits and it will not be palindrome,not contain same digits more than 3 times, not contain sequencial number more than 3.

01Blade

Since Aug 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kdcwinner/securitycode)[ Packagist](https://packagist.org/packages/kdcwinner/securitycode)[ RSS](/packages/kdcwinner-securitycode/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

securitycode
============

[](#securitycode)

It will generate a code which will be numbers with 6 digits and it will not be palindrume,not contain same digits more than 3 times, not contain sequencial number more than 3. Laravel SecurityCode

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

[](#installation)

Install the package by the following command,

composer require kdcwinner/securitycode

Add Provider
------------

[](#add-provider)

Add the provider to your config/app.php into provider section.

Kdcwinner\\Securitycode\\SecuritycodeServiceProvider::class,

fire Migrate command
--------------------

[](#fire-migrate-command)

php artisan migrate

this command will add one column in users table with 'securitycode' name and create on table with 'configration' name.

Fire php artisan serve comand to start your application

then with url with Here you can set code length for example. 6 then code will generate with 6 digits, if you set 10 then code will generate with 10 digits.

After configure the code length you have to fire

if you see a no data then insert some data in users table and then again fire this url show you will as button with name 'Assign Access Code' to assign code to that particular user.

License
-------

[](#license)

The MIT License (MIT). Please see [License](/shailesh-ladumor/laravel-pwa/blob/master/LICENSE.md) File for more information

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90% 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/cb79aaf1bd06323fa261ff34f998fe058a581acb9bb89e72ea952cdffdd95965?d=identicon)[kdcwinner](/maintainers/kdcwinner)

---

Top Contributors

[![ais-ketan](https://avatars.githubusercontent.com/u/78369351?v=4)](https://github.com/ais-ketan "ais-ketan (9 commits)")[![kdcwinner](https://avatars.githubusercontent.com/u/5327948?v=4)](https://github.com/kdcwinner "kdcwinner (1 commits)")

### Embed Badge

![Health badge](/badges/kdcwinner-securitycode/health.svg)

```
[![Health](https://phpackages.com/badges/kdcwinner-securitycode/health.svg)](https://phpackages.com/packages/kdcwinner-securitycode)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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