PHPackages                             yudhatp/laravel-check-default-password - 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. yudhatp/laravel-check-default-password

ActiveLibrary[Security](/categories/security)

yudhatp/laravel-check-default-password
======================================

Check Default Password for Laravel

0.0.2(2y ago)011MITPHPPHP ^7.3|^8.0

Since Oct 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yudhatp/laravel-check-default-password)[ Packagist](https://packagist.org/packages/yudhatp/laravel-check-default-password)[ Docs](https://github.com/yudhatp/laravel-check-default-password)[ RSS](/packages/yudhatp-laravel-check-default-password/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Laravel Check Default Password
==============================

[](#laravel-check-default-password)

Check is user using default password and force them to change their password. This package compatible for Laravel 6.x, 7.x, 8.x, 9.x, 10,x

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

[](#installation)

You can install the package via composer:

```
composer require yudhatp/laravel-check-default-password
```

publish config file with:

```
php artisan vendor:publish --tag=yudhatp-check-default-password-config
```

Usage
-----

[](#usage)

on "kernel.php", add this line on your "protected $middlewareGroups"

```
'web' => [
    ...
    \Yudhatp\CheckDefaultPassword\Middleware\CheckDefaultPasswordMiddleware::class,
    ...
],
```

Setting Config
--------------

[](#setting-config)

change default laravel user field. at default the value is "id"

```
'user' => 'employee_id'
```

change redirect url

```
'redirect' => 'profile'
```

set password which not allowed

```
'passwords' => [
    ...
    '1234',
    '123456',
    ...
]
```

set except routes

```
'except-routes' => [
    ...
    'login',
    'logout',
    ...
]
```

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

945d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4480da28c2fda04c27fc3dfb25aedabe9c90d8a21b5ca272354fa49c3f740354?d=identicon)[yudhatp](/maintainers/yudhatp)

---

Top Contributors

[![yudhatp](https://avatars.githubusercontent.com/u/21326075?v=4)](https://github.com/yudhatp "yudhatp (1 commits)")

---

Tags

laravelpasswordCheck Default Password

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yudhatp-laravel-check-default-password/health.svg)

```
[![Health](https://phpackages.com/badges/yudhatp-laravel-check-default-password/health.svg)](https://phpackages.com/packages/yudhatp-laravel-check-default-password)
```

###  Alternatives

[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

999465.8k2](/packages/akaunting-laravel-firewall)[mikemclin/laravel-wp-password

Laravel package that checks and creates WordPress password hashes

863.4M2](/packages/mikemclin-laravel-wp-password)[soved/laravel-gdpr

GDPR compliance with ease

299127.5k2](/packages/soved-laravel-gdpr)[masterro/laravel-xss-filter

Filter user input for XSS but don't touch other html

41254.5k](/packages/masterro-laravel-xss-filter)[enlightn/laravel-security-checker

A Laravel package to scan your dependencies for known security vulnerabilities.

51173.4k](/packages/enlightn-laravel-security-checker)[olssonm/laravel-backup-shield

Protection for your laravel backups

3019.5k](/packages/olssonm-laravel-backup-shield)

PHPackages © 2026

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