PHPackages                             emiliopedrollo/laravel-secure-passwords - 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. emiliopedrollo/laravel-secure-passwords

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

emiliopedrollo/laravel-secure-passwords
=======================================

Provide useful ways to ensure strong passwords via validation

v0.2(8y ago)022[3 PRs](https://github.com/emiliopedrollo/laravel-secure-passwords/pulls)MITPHPPHP ^7.0

Since Dec 20Pushed 3y agoCompare

[ Source](https://github.com/emiliopedrollo/laravel-secure-passwords)[ Packagist](https://packagist.org/packages/emiliopedrollo/laravel-secure-passwords)[ Docs](https://github.com/emiliopedrollo/secure-passwords)[ RSS](/packages/emiliopedrollo-laravel-secure-passwords/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (3)Versions (6)Used By (0)

Laravel Secure Passwords
========================

[](#laravel-secure-passwords)

[![Build Status](https://camo.githubusercontent.com/ce9af1e915747c0c83f3b7a3447cbdf43bd9b702dbc8408732e49f69b96777fc/68747470733a2f2f7472617669732d63692e6f72672f656d696c696f706564726f6c6c6f2f6c61726176656c2d7365637572652d70617373776f7264732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/emiliopedrollo/laravel-secure-passwords)[![Latest Stable Version](https://camo.githubusercontent.com/2a84637544c6e52a536d611513b27961f6673a5763fabd2fd9691af77d2192df/68747470733a2f2f706f7365722e707567782e6f72672f656d696c696f706564726f6c6c6f2f6c61726176656c2d7365637572652d70617373776f7264732f762f737461626c65)](https://packagist.org/packages/emiliopedrollo/laravel-secure-passwords)[![Total Downloads](https://camo.githubusercontent.com/d372cb1e5d0bfe65230c82ff6730aff369cf3dff2ccf3a10ae9a41913a434202/68747470733a2f2f706f7365722e707567782e6f72672f656d696c696f706564726f6c6c6f2f6c61726176656c2d7365637572652d70617373776f7264732f646f776e6c6f616473)](https://packagist.org/packages/emiliopedrollo/laravel-secure-passwords)[![License](https://camo.githubusercontent.com/051758a4beed3d60c7b132bfadef9ea77c60f76a739de632b61436f08c6035d2/68747470733a2f2f706f7365722e707567782e6f72672f656d696c696f706564726f6c6c6f2f6c61726176656c2d7365637572652d70617373776f7264732f6c6963656e7365)](https://packagist.org/packages/emiliopedrollo/laravel-secure-passwords)[![Code Climate maintainability](https://camo.githubusercontent.com/26a272d92b68e3491a9548c59f66f63bebea7d797e2e709c4f0086236dfe418d/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f656d696c696f706564726f6c6c6f2f6c61726176656c2d7365637572652d70617373776f726473)](https://camo.githubusercontent.com/26a272d92b68e3491a9548c59f66f63bebea7d797e2e709c4f0086236dfe418d/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f656d696c696f706564726f6c6c6f2f6c61726176656c2d7365637572652d70617373776f726473)

This package provides useful ways to ensure strong passwords via validation in Laravel 6 applications.

The provided new validations:

- alphabetic characters
- numeric characters
- mixed case characters
- symbols
- common used passwords (provided by SplashData)

Documentation
=============

[](#documentation)

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

[](#installation)

### Get the package

[](#get-the-package)

`composer require emiliopedrollo/laravel-secure-passwords:"~0.2"`.

Usage
-----

[](#usage)

Now Laravel's native `Validator` is extended by those rules:

- has\_uppercase
- has\_lowercase
- has\_both\_cases
- has\_digit
- has\_letter
- has\_symbol
- not\_a\_common\_password

### Example

[](#example)

You can apply these rules as described in the [validation section on Laravel's website](http://laravel.com/docs/validation)

```
Validator::make(['password' => 'trustno1']
    'password' => 'has_digit|has_letter|not_a_common_password'
)->passes();   // returns false;
```

History
=======

[](#history)

**\[Laravel 5\]**

**\[0.1\]**

- Initial release

License
=======

[](#license)

This package is under the MIT license. See the complete license:

- [LICENSE](https://github.com/emiliopedrollo/secure-passwords/LICENSE)

Reporting Issues or Feature Requests
------------------------------------

[](#reporting-issues-or-feature-requests)

Issues and feature requests are tracked on [GitHub](https://github.com/emiliopedrollo/secure-passwords/issues).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

3069d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/442cd299d4ec476168c0d4274a4f2f784573c61d27a0a955067bc05233bbcec5?d=identicon)[emiliopedrollo](/maintainers/emiliopedrollo)

---

Top Contributors

[![emiliopedrollo](https://avatars.githubusercontent.com/u/6577541?v=4)](https://github.com/emiliopedrollo "emiliopedrollo (30 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

laravelvalidationsecuritypassword

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/emiliopedrollo-laravel-secure-passwords/health.svg)

```
[![Health](https://phpackages.com/badges/emiliopedrollo-laravel-secure-passwords/health.svg)](https://phpackages.com/packages/emiliopedrollo-laravel-secure-passwords)
```

###  Alternatives

[schuppo/password-strength

This package provides a validator for ensuring strong passwords in Laravel 4 applications.

1432.7M1](/packages/schuppo-password-strength)[olssonm/l5-zxcvbn

Implementation of the zxcvbn project by @dropbox for Laravel. Uses zxcvbn-php by @bjeavons.

28311.1k1](/packages/olssonm-l5-zxcvbn)[rebelinblue/laravel-zxcvbn

Service provider to use the zxcvbn project by @dropbox in Laravel 5.4 and above

1160.4k](/packages/rebelinblue-laravel-zxcvbn)[carsdotcom/laravel-json-schema

Json Schema validation for Laravel projects

1036.7k3](/packages/carsdotcom-laravel-json-schema)

PHPackages © 2026

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