PHPackages                             juniorgrossi/passkit - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. juniorgrossi/passkit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

juniorgrossi/passkit
====================

Usefull classes to generate and manage passwords

185PHP

Since Mar 6Pushed 13y ago1 watchersCompare

[ Source](https://github.com/jgrossi/passkit)[ Packagist](https://packagist.org/packages/juniorgrossi/passkit)[ RSS](/packages/juniorgrossi-passkit/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Passkit
=======

[](#passkit)

Provide a easy way to generate and ranking (check) existing password. This project was created only to test Packagist and create my first Composer project.

Generating a new password
-------------------------

[](#generating-a-new-password)

```
// Generate a password with 6 chars using numbers, letters (lowercase and uppercase) and symbols
Passkit\Password::generate(6);

// Generate a 8 chars password only with numbers
Passkit\Password::generate(8, array('numbers'));

// Variants
Passkit\Password::generate(8, array('numbers', 'letters'));
Passkit\Password::generate(8, array('numbers', 'symbols'));
Passkit\Password::generate(8, array('numbers', 'letters', 'symbols'));

```

Check a password
----------------

[](#check-a-password)

You can use PasswordChecker class to verify how much is your password secure.

```
Passkit\Password::check('1234'); // 1 (bad)
Passkit\Password::check('12asDas$8*'); // 5 (great)

```

Demo
----

[](#demo)

You can see it in action.

### Generating passwords

[](#generating-passwords)

-
-
- [http://passkit.juniorgrossi.com/generate?length=15&amp;using=letters](http://passkit.juniorgrossi.com/generate?length=15&using=letters)
- [http://passkit.juniorgrossi.com/generate?length=15&amp;using=letters,numbers,symbols](http://passkit.juniorgrossi.com/generate?length=15&using=letters,numbers,symbols)

### Checking

[](#checking)

-
-
- [http://passkit.juniorgrossi.com/check?password=ija9H76h\*a#](http://passkit.juniorgrossi.com/check?password=ija9H76h*a#)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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://avatars.githubusercontent.com/u/1175275?v=4)[Junior Grossi](/maintainers/jgrossi)[@jgrossi](https://github.com/jgrossi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/juniorgrossi-passkit/health.svg)

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

PHPackages © 2026

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