PHPackages                             asayed/php-random-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. asayed/php-random-password

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

asayed/php-random-password
==========================

This is simple php function to generate random password

1.0.0(5y ago)2179proprietaryPHPPHP &gt;=7.0

Since Apr 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sayedcsekuet/php-random-password)[ Packagist](https://packagist.org/packages/asayed/php-random-password)[ RSS](/packages/asayed-php-random-password/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

random-password
===============

[](#random-password)

This is the simple php library for generating random password of a given length with complexity.

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

[](#installation)

This project using composer.

```
$ composer require asayed/php-random-password

```

Arguments:
----------

[](#arguments)

The generate function take there parameters

- Length of the password, default 10
- Number of digits should include in the password, default 1
- Number of special characters should include in the password, default 1

Usage
-----

[](#usage)

Generate random password.

```
