You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-9
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
A simple implementation of zxcvbn for Laravel 5. This package allows you to access "zxcvbn-related" data on a passphrase in the application and also to use zxcvbn as a standard validator.
12
12
13
-
Uses [Zxcvbn-PHP](https://github.com/bjeavons/zxcvbn-php) by [@bjeavons](https://github.com/bjeavons), which in turn is inspired by [zxcvbn](https://github.com/dropbox/zxcvbn) by [@dropbox](https://github.com/dropbox).
13
+
Uses [Zxcvbn-PHP](https://github.com/mkopinsky/zxcvbn-php) by [@mkopinsky](https://github.com/mkopinsky) (originally by [@bjeavons](https://github.com/bjeavons)), which in turn is inspired by [zxcvbn](https://github.com/dropbox/zxcvbn) by [@dropbox](https://github.com/dropbox).
14
14
15
15
## Install
16
16
@@ -54,17 +54,19 @@ class MyClass extends MyOtherClass
54
54
$zxcvbn = Zxcvbn::passwordStrength('password');
55
55
dd($zxcvbn);
56
56
57
-
// array:6 [▼
58
-
// "crack_time" => 5.0E-5
59
-
// "calc_time" => 0.12961101531982
60
-
// "password" => "password"
61
-
// "entropy" => 0.0
62
-
// "match_sequence" => array:1 []
63
-
// "score" => 0
57
+
// array:9 [
58
+
// "password" => "password"
59
+
// "guesses" => 3
60
+
// "guesses_log10" => 0.47712125471966
61
+
// "sequence" => array:1 []
62
+
// "crack_times_seconds" => array:4 []
63
+
// "crack_times_display" => array:4 []
64
+
// "score" => 0
65
+
// "feedback" => array:2 []
66
+
// "calc_time" => 0.042769908905029
64
67
// ]
65
68
}
66
69
}
67
-
?>
68
70
```
69
71
70
72
Play around with different passwords and phrases, the results may surprise you. Check out [Zxcvbn-PHP](https://github.com/bjeavons/zxcvbn-php) for more uses and examples.
0 commit comments