PHPackages                             pear/text\_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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pear/text\_password

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

pear/text\_password
===================

More info available on: http://pear.php.net/package/Text\_Password

1.2.2(3y ago)2135.4k↓22.1%51MITPHPPHP &gt;=5.2.1

Since Aug 11Pushed 3y ago10 watchersCompare

[ Source](https://github.com/pear/Text_Password)[ Packagist](https://packagist.org/packages/pear/text_password)[ RSS](/packages/pear-text-password/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (11)Used By (1)

Text\_Password
==============

[](#text_password)

Class that provides various types of password generation.

Usage
-----

[](#usage)

Generating passwords is a very common task in web applications. This package provides an easy-to-use and intuitive API to generate:

- pronounceable passwords
- unpronounceable passwords
- passwords based on a given string

For the last point, multiple, simple *obfuscation* algorithms are supported.

### Creating a Pronouncable Password

[](#creating-a-pronouncable-password)

```

```

### Creating an Unpronouncable Password

[](#creating-an-unpronouncable-password)

```
