PHPackages                             collegeman/fuerte - 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. collegeman/fuerte

ActiveWordpress-plugin

collegeman/fuerte
=================

1.0.9(3y ago)2518.1k↓25%2MITPHPPHP ^7.4|^8.1

Since Dec 24Pushed 3y ago2 watchersCompare

[ Source](https://github.com/collegeman/fuerte)[ Packagist](https://packagist.org/packages/collegeman/fuerte)[ RSS](/packages/collegeman-fuerte/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Fuerte is a strong password generator with no dependencies
==========================================================

[](#fuerte-is-a-strong-password-generator-with-no-dependencies)

"Through 20 years of effort, we've successfully trained everyone to use passwords that are hard for humans to remember, but easy for computers to guess." — [XKCD](https://xkcd.com/936/)

[![To anyone who understands information theory and security and is in an infuriating argument with someone who does not (possibly involving mixed case), I sincerely apologize.](https://camo.githubusercontent.com/480e1a1f119c225e8cce393838bfe21a4d965b01527bd33598fb0db8fa2665eb/68747470733a2f2f696d67732e786b63642e636f6d2f636f6d6963732f70617373776f72645f737472656e6774682e706e67)](https://camo.githubusercontent.com/480e1a1f119c225e8cce393838bfe21a4d965b01527bd33598fb0db8fa2665eb/68747470733a2f2f696d67732e786b63642e636f6d2f636f6d6963732f70617373776f72645f737472656e6774682e706e67)

Fuerte is a simple, strong password generator.

It can create strong passwords that you should be using, because they're long and easy to remember, like `correct horse battery staple`, but it can also create the sorts of strong passwords that your bank and your insurance company want you to use, because they're complicated, like `Tr0ub4dor&3`.

In a pinch, it can even blend the two methods to create something like `correct!HORSE3battery%staple`, which, while difficult to memorize, is at least equally difficult for a computer to guess.

The library is available for JavaScript and PHP projects, and if you're using PHP, it installs easily into Laravel and WordPress codebases.

As of version `1.0.7`, both libraries use cryptographically secure random number generators.

Need a new password right now?
------------------------------

[](#need-a-new-password-right-now)

You can experience Fuerte in action on [makepass.dev](https://makepass.dev). Enjoy!

Quickstart Guide
----------------

[](#quickstart-guide)

There are two versions of Fuerte: one for JavaScript and one for PHP. Both are a part of this codebase.

You can also use the PHP library as a WordPress plugin or as a Laravel package.

You only need one of these solutions for your project, but they can also be used together.

### Using the JavaScript library

[](#using-the-javascript-library)

The Fuerte package is available via NPM:

```
npm install @collegeman/fuerte
```

You can also just download this repository, place the uncompressed files among your project's assets, and then load the the library:

```

  var password = fuerte().make() // a random, memorable password!

```

You can also load the library via jsdeliver:

```

  var password = fuerte().make() // a random, memorable password!

```

Once added to your project, you can import Fuerte's API like this:

```
import fuerte from '@collegeman/fuerte'
let password = fuerte().make() // a random, memorable password!
```

### Using the PHP library

[](#using-the-php-library)

The Fuerte package can be installed using Composer:

```
composer require collegeman/fuerte
```

Assuming there are no other functions in your codebase named `fuerte`, you can use Fuerte like this:

```
