PHPackages                             random-ids/random-ids - 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. random-ids/random-ids

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

random-ids/random-ids
=====================

Generate a non-repetitive random ID.Sometimes you don't want people to guess the rules of some IDs,then you can use random-ids.At present,we support file and redis.

1.1.4(6y ago)110MITPHPPHP ^7.1CI failing

Since Sep 10Pushed 6y ago2 watchersCompare

[ Source](https://github.com/random-ids/random-ids)[ Packagist](https://packagist.org/packages/random-ids/random-ids)[ RSS](/packages/random-ids-random-ids/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

random-ids
==========

[](#random-ids)

Generate a non-repetitive random ID.

Sometimes you don't want people to guess the rules of some IDs,then you can use random-ids.

At present,we support file and redis.

### Basic example:

[](#basic-example)

```
